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
Parameter | Required | Default | Description |
---|---|---|---|
levels.* | Yes | An array of object level |
Level
Parameter | Required | Default | Description |
---|---|---|---|
sku | Yes, if no ean is given | The SKU of the line | |
ean | Yes, if no sku is given | The EAN of the line | |
quantity | Yes | The 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
}
]
}