Skip to content

Update Product Per SubBin

Updates a given ProductId’s Products Per Subbin Value.

Direction WMS → WCS

HTTP Method POST

Path /api/product/updatePpsb

{
"productId": "ABC123",
"productsPerSubbin": {
"1/1": 24,
"2/2": 36,
"3/1": 12
}
}

202: Product passed validation

{
"message": "Accepted"
}

400: Product failed validation

{
"message": "Bad Request",
"errors": [
{
"message": "Product field productId must contain at least 1 non-whitespace character",
"path": "productId"
},
{
"message": "The number of units must not be a negative value",
"path": "productsPerSubbin"
}
]
}

401: Access denied, Invalid Authentication

{
"message": "Unauthorized"
}