Skip to content

Update Expected Sales

Update product analytics metadata including expected sales information. Each expectedSales value must be non-negative.

Direction Host → WMS

HTTP Method POST

Path /inbound/updateProductExpectedSales

A collection of ProductAnalyticsMeta objects:

[
{
"productId": "PROD-ABC123",
"expectedSales": 500
}
]

200: All updates processed successfully

{
"requestId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"success": true,
"error": null
}

400: Empty list or any expectedSales value is negative

{
"requestId": null,
"success": false,
"error": {
"errorCode": "INCORRECT_EXPECTED_SALES_VALUE",
"errorMessage": "ExpectedSales should be >= 0"
}
}

500: Processing error

{
"requestId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"success": false,
"error": {
"errorCode": "PROCESSING_ERROR",
"errorMessage": "Error details"
}
}