For the complete documentation index, see llms.txt. This page is also available as Markdown.

Locations

Deprecated

Retrieving all locations for a site

get

Retrieves all locations for a specified site.

Required scopes
This endpoint requires the following scopes:
  • : Needed to view availabilities.
Authorizations
OAuth2clientCredentialsRequired
Token URL:
Path parameters
tenantstringRequired

Your Emporix tenant name.

Note: The tenant name should always be provided in lowercase.

Example: testtenant
sitestringRequired

Site code, defined when the site is created.

Example: shop1
Responses
200

The request was successful. A list of locations is returned.

application/json

Physical location of the product.

idstringRequired

Unique identifier of the location.

Note: The value should be provided in the site:rack format.

Example: shop1:1234
sitestringRequired

Site code, defined when the site is created. The value should match the site query/path parameter value.

Example: shop1
rackstringOptional

Rack number.

Example: 1234
rackNamestringOptional

Name of the rack.

Example: Tools
ordernumberRequired

Order of the location, expressed as a number.

Example: 1
get/availability/{tenant}/locations/{site}
Deprecated

Adding a new location to a site

post

Adds a new location to a specified site.

Required scopes
This endpoint requires the following scopes:
  • : Needed to manage availabilities.
Authorizations
OAuth2clientCredentialsRequired
Token URL:
Path parameters
tenantstringRequired

Your Emporix tenant name.

Note: The tenant name should always be provided in lowercase.

Example: testtenant
sitestringRequired

Site code, defined when the site is created.

Example: shop1
Body

Physical location of the product.

idstringRequired

Unique identifier of the location.

Note: The value should be provided in the site:rack format.

Example: shop1:1234
sitestringRequired

Site code, defined when the site is created. The value should match the site query/path parameter value.

Example: shop1
rackstringOptional

Rack number.

Example: 1234
rackNamestringOptional

Name of the rack.

Example: Tools
ordernumberRequired

Order of the location, expressed as a number.

Example: 1
Responses
201

The request was successful. The location has been added to the site.

application/json
messagestringOptional

The response message of the operation.

Example: Successfully created location with id: shop1:1234
codenumberOptional

The result code of the operation.

Example: 201
post/availability/{tenant}/locations/{site}
Deprecated

Updating locations

put

Updates locations for a specified site.

Required scopes
This endpoint requires the following scopes:
  • : Needed to manage availabilities.
Authorizations
OAuth2clientCredentialsRequired
Token URL:
Path parameters
tenantstringRequired

Your Emporix tenant name.

Note: The tenant name should always be provided in lowercase.

Example: testtenant
sitestringRequired

Site code, defined when the site is created.

Example: shop1
Bodyobject · LocationOrder[]
idstringOptional

Unique identifier of the location.

Example: shop1:1234
ordernumberOptional

Order of the location, expressed as a number.

Example: 1
Responses
200

The request was successful. The locations have been updated.

application/json
messagestringOptional

The response message of the operation.

Example: Successfully created location with id: shop1:1234
codenumberOptional

The result code of the operation.

Example: 201
put/availability/{tenant}/locations/{site}
Deprecated

Deleting a location

delete

Deletes a specified location.

Required scopes
This endpoint requires the following scopes:
  • : Needed to manage availabilities.
Authorizations
OAuth2clientCredentialsRequired
Token URL:
Path parameters
tenantstringRequired

Your Emporix tenant name.

Note: The tenant name should always be provided in lowercase.

Example: testtenant
locationstringRequired

Location unique identifier.

Example: shop1:1234
Responses
200

The request was successful. The location has been deleted.

application/json
messagestringOptional

The response message of the operation.

Example: Successfully created location with id: shop1:1234
codenumberOptional

The result code of the operation.

Example: 201
delete/availability/{tenant}/locations/{location}
Deprecated

Retrieving product locations

post

Retrieves locations of specified products.

Required scopes
This endpoint requires the following scopes:
  • : Needed to view availabilities.
Authorizations
OAuth2clientCredentialsRequired
Token URL:
Path parameters
tenantstringRequired

Your Emporix tenant name.

Note: The tenant name should always be provided in lowercase.

Example: testtenant
Body
sitestringOptional

Site code, defined when the site is created.

Example: shop1
productIdsstring[]Optional

List of product IDs. A product IDs is generated when the product is created through the Product Service.

Example: ["5f7c996173fc281cdd412345","5f7c996173fc281cdd412345"]
Responses
200

The request was successful. A list of locations is returned.

application/json
productIdstringOptional

Unique identifier of the product, generated when the product is created through the Product Service.

Example: 5f7c996173fc281cdd412345
post/availability/{tenant}/search/locations

Last updated

Was this helpful?