Skip to main content

Full inventory sync

caution

The recommended use case for this endpoint is when you want to synchronize a full list of inventory from another system like a 3PL WMS or ERP into TRAEDE. If you just want to make a few adjustments then you should use the Adjust inventory endpoint

caution

Since this endpoint can regulate many products it is processed asynchronously. Therefore, you will not be able to immediately see the changes of your request, but you will be able to see within a few minutes

caution

This endpoint is extra rate-limited and can only be called once every hour. If you need to create adjustments within this rate-limit period then use the Adjust inventory endpoint

Endpoint: POST /v10/inventory/full-inventory-sync

ParameterRequiredDefaultDescription
levels.*YesAn array of object level

Level

ParameterRequiredDefaultDescription
skuYes, if no ean is givenThe SKU of the line
eanYes, if no sku is givenThe EAN of the line
quantityYesThe number of pieces in stock

Example

POST /v10/inventory/full-inventory-sync

{
"levels": [
{
"sku": "1000-Black-S",
"quantity": 2
},
{
"sku": "1000-Black-M",
"quantity": 3
}
]
}