v1
latestOpenAPI 3.1.02026-07-2296226496.3 KBStore Catalog
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.
post/v1/inventory
Request body
Example request
{
"inventory": [
{
"externalProductId": "ext_001",
"externalStoreLocationId": "store_001",
"quantity": 50,
"valueCents": 299,
"currency": "USD",
"available": true,
"location": {
"aisle": "Aisle 5",
"bay": "Bay 3",
"shelf": "Shelf 2"
},
"details": {
"weightedItemInfo": {
"valueCentsPerMeasurementUnit": 120
},
"taxPercentage": 0.1
},
"providerConfigs": [
{
"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
}
]
}
]
}Response
OK
Example response
[
{
"productId": "prod_123",
"externalProductId": "ext_001",
"storeLocationId": "store_001",
"externalStoreLocationId": "ext_store_002",
"quantity": 50,
"valueCents": 299,
"currency": "USD",
"available": true,
"location": {
"aisle": "Aisle 5",
"bay": "Bay 3",
"shelf": "Shelf 2"
},
"details": {
"weightedItemInfo": {
"valueCentsPerMeasurementUnit": 120
},
"taxPercentage": 0.1
},
"providerConfigs": [
{
"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
}
]
}
]