Create or update inventory
Create or update inventory levels for products at specific store locations. Links products to store locations with quantity and availability information.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
List of store inventory to create or update
Response
OK
The product ID associated with this inventory item
"prod_123"
The store location ID where this inventory is located
"store_001"
The quantity of the product in stock
50
Whether the product is available for purchase
true
The external product ID from an external system
"ext_001"
The external store ID from an external system
"ext_store_002"
The price of the product in cents
299
The currency code for the product price
"USD"
The location data for the product in the store
{
"aisle": "Produce",
"bay": "Fruits",
"shelf": "Bananas"
}Additional inventory details
{
"weightedItemInfo": { "valueCentsPerMeasurementUnit": 120 }
}Provider-specific configurations for this inventory item
[
{
"currency": "USD",
"details": {
"weightedItemInfo": { "valueCentsPerMeasurementUnit": 135 }
},
"discount": {
"endTime": "2025-12-17T00:00:00Z",
"startTime": "2025-12-10T00:00:00Z",
"valueCents": 270
},
"provider": "X",
"serviceType": "pick_and_deliver",
"valueCents": 299
}
]