Availabilities
Was this helpful?
Was this helpful?
Retrieves a specified product's availability details.
Your Emporix tenant's name.
Note: The tenant name should always be provided in lowercase.
testtenant
Product's unique identifier, generated when the product is created through the Product Service.
5f7c996173fc281cdd412345
Site code, defined when the site is created.
shop1
Deletes a specified product's availability.
Note: There is no possibility to delete a product bundle's availability - it is always equal to the lowest availability found in the bundled products.
Required scopes
availability.availability_manage
Your Emporix tenant's name.
Note: The tenant name should always be provided in lowercase.
testtenant
Product's unique identifier, generated when the product is created through the Product Service.
5f7c996173fc281cdd412345
Site code, defined when the site is created.
shop1
No content
Retrieves all availability information for a specified site.
Note: When a product bundle is retrieved, availability is returned both for its particular products and for the bundle as a whole. The bundle's availability is equal to the lowest availability found in its products.
Required scopes No specific scopes are required.
Your Emporix tenant's name.
Note: The tenant name should always be provided in lowercase.
testtenant
Site code, defined when the site is created.
shop1
Number of items to be retrieved per page.
20000
Example: 100
Page number to be retrieved. The number of the first page is 1.
Note: If the pageNumber
parameter is passed, size of the pages must be specified in the pageSize
parameter.
1
Example: 5
Retrieves availabilities for specified products on a specified site.
Required scopes No specific scopes are required.
Your Emporix tenant's name.
Note: The tenant name should always be provided in lowercase.
testtenant
Site code, defined when the site is created. If it's not provided, then availabilites for all sites are returned.
shop1
Number of items to be retrieved per page.
20000
Example: 100
Page number to be retrieved. The number of the first page is 1.
Note: If the pageNumber
parameter is passed, size of the pages must be specified in the pageSize
parameter.
1
Example: 5
IDs of products for which the locations should be retrieved.
Creates a new availability for a specified product.
Note: We recommend not to create a new product availability for a site named main
. A site named main
works as an aggregator of availability data from other sites. It's not possible to later retrieve availability for a single site when it's called main
.
Required scopes
availability.availability_manage
Your Emporix tenant's name.
Note: The tenant name should always be provided in lowercase.
testtenant
Product's unique identifier, generated when the product is created through the Product Service.
5f7c996173fc281cdd412345
Site code, defined when the site is created.
shop1
Stock level of the product, expressed as a number.
10
Flag indicating whether the product is available.
true
Popularity of the product, expressed as a number.
5
Name of the product's distribution channel.
ASSORTMENT
Possible values: Updates a specified product's availability details, or crates a new availability if it doesn't exist yet.
Note: There is no possibility to update a product bundle's availability - it is always equal to the lowest availability found in the bundled products.
Required scopes
availability.availability_manage
Your Emporix tenant's name.
Note: The tenant name should always be provided in lowercase.
testtenant
Product's unique identifier, generated when the product is created through the Product Service.
5f7c996173fc281cdd412345
Site code, defined when the site is created.
shop1
Stock level of the product, expressed as a number.
10
Flag indicating whether the product is available.
true
Popularity of the product, expressed as a number.
5
Name of the product's distribution channel.
ASSORTMENT
Possible values: