This API will be called by any External WMS to update the absolute inventory available in WMS for the Products listed in Increff OMS.
<aside> ℹ️
Note: One batch can contain maximum of 300 SKUs.
</aside>
{
"locationCode": "wd003",
"excludeNonDispatchedInventory": false,
"products": [
{
"channelSkuCode": "ITEM302",
"quantity": 40,
"batchIdentification": {
"batchCode": "BATCH001",
"supplierCode": "SUP001",
"manufacturingDate": "2024-01-15T00:00:00Z",
"expiryDate": "2025-01-15T00:00:00Z"
}
}
]
}
| Parameter Name | Data Type | Description | Mandatory |
|---|---|---|---|
locationCode |
String | Identifier for the location for which inventory will be synced to channel. | Yes |
products |
Object[] | List of products for which inventory needs to be updated | Yes |
products.channelskuCode |
String | Scannable barcode on the product | Yes |
products.quantity |
int | Aboluste Quantity of inventory available for the product in external WMS. | Yes |
products.batchIdentification |
Object | Batch identification details for the product. | No |
products.batchIdentification.batchCode |
String | Batch code of the product. | No |
products.batchIdentification.supplierCode |
String | Supplier code for the batch. | No |
products.batchIdentification.manufacturingDate |
String | Manufacturing date of the batch. | No |
products.batchIdentification.expiryDate |
String | Expiry date of the batch. | No |
<aside> ⚠️
EFS has to share either the Batch code or the Batch Code + Supplier Code or Manufacturing date + Expiry Date if sharing updates for perishable items.
</aside>
{
"failureProducts": [],
"successProducts": [
"302"
]
}
| Parameter Name | Data Type | Description |
|---|---|---|
failureProducts |
String[] | List of channelSkuCode for which inventory update was not successful |
successProducts |
String[] | List of channelSkuCode for which inventory update was successful |