Stock Update
update stock counts by SKU
update stock counts by SKU
post/catalog-items/stock-count-by-sku
Request body
Example request
{
"locationId": "606d232385eb3927edf2763c",
"catalogQtyBySkuInfoList": [
{
"sku": "sku",
"qtyInfo": {
"qty": "12.3",
"unitId": "606d232385eb3927edf2763c"
}
}
]
}Response
Successful response
Example response
{
"catalogItemQtyUpdateInfoList": [
{
"catalogItemId": "606d232385eb3927edf2763c",
"sku": "sku",
"qtyInfo": {
"qty": "12.3",
"unitId": "606d232385eb3927edf2763c"
}
}
],
"errorCode": 400,
"message": "[ValidationError(error=CORRUPTED DATA: This request has unitIds which do not exist in inventory unitIds: [65ddc968d3879720460e556d])]"
}