put https://{accountName}.{environment}.com.br/api/logistics/pvt/inventory/skus//warehouses/
Updates inventory for a given SKU and warehouse.
Request body example
The parameter dateUtcOnBalanceSystem
refers to date and time. It defines the corresponding moment to the informed warehouse. It is useful due to the liberation of handling order's reservations. When requested as null
, this value will be the date/time of the request. Its format is DateTimeOffset
.
curl --location --request PUT 'https://{accountName}.{environment}.com.br/api/logistics/pvt/inventory/skus/skuId/warehouses/warehouseId' \
--header 'Content-Type: application/json; charset=utf-8' \
--header 'Accept: application/json' \
--header 'X-VTEX-API-AppKey: {{X-VTEX-API-AppKey}}' \
--header 'X-VTEX-API-AppToken: {{X-VTEX-API-AppToken}}' \
--data-raw '{
"unlimitedQuantity": false,
"dateUtcOnBalanceSystem": null,
"quantity": 101
}'