This service is in BETA. For access please Fill out the application
The /itemLocations resource describes the quantity of an item that is available in a specific location
id | Unique Identifier for this location |
---|---|
msku | msku of the Item |
locationId | locationId for this specific itemLocation |
quantity | The current quantity of the item in this location |
modified | Last Modified Timestamp |
All parameters here operate as expected
You can increment and decrement quantities without knowing the previous quantity with requests such as:
Add two to the existing quantity:
POST /itemLocations/123455?increment=2
Remove three from the existing quantity:
POST /itemLocations/123456?decrement=3
is equivelant to
POST /itemLocations/123456?increment=-3
Action | referenceType | referenceId |
---|---|---|
Item received from purchase | purchase | the purchaseItemId for the msku |
Item ordered by customer | order | the orderItemId for the msku |