...
Code Block | ||
---|---|---|
| ||
{ "consolidationType": "STORE", "inventories": [ { "consolidatedQuantity": "36", "consolidatedMinExpiry": "2020-10-16", "channelSkuCode": "302", "channelSerialNo": "456", "listingId": "lis1"105, "quantity": 30, "minExpiry": "2020-10-16", "locationCode": "loc1", "consolidationType": "STORE" }, { "consolidatedQuantity": "30", "consolidatedMinExpiry": "2020-10-16", "channelSkuCode": "301", "channelSerialNo": "457", "listingId": "lis1"106, "consolidationType": "STORE" "quantity": 30, "minExpiry": "2020-10-16", "locationCode": "loc1", "consolidationType": "STORE" } ] } |
...
Parameter Name | Data Type | Description | Mandatory |
| String | Possible values: ALL, STORE
| yes |
| Object[] | List of inventories to be updated | Yes |
| Integer | Aggregated quantity across all fulfilment locations (In case of consolidationType STORE, aggregated quantity across all stores, whereas in case of ALL, aggregated quantity across all stores and warehouses) | Yes |
| String | Minimum expiry date of the item across all fulfilment locations | No |
| String | Code used by channel to identify an SKU | Yes |
| String | Additional code by channel to identify an SKU | No |
| StringInteger | The listing id corresponding to the inventory | yes |
| Integer | Absolute quantity available for sale in Omni system in location which has triggered the event | No |
| String | Minimum expiry date of the item guaranteed by Assure | No |
| String | location which has triggered the inventory change event | Yes |
| String | Possible values: ALL,STORE | Yes |
...
Code Block | ||
---|---|---|
| ||
{ "failureList": [ { "quantity": 30, "channelSkuCode": "302", "channelSerialNo": "456", "minExpiry": "2020-10-16", "consolidatedQuantity": "26", "consolidatedMinExpiry": "2020-10-16", "locationCode": "loc1", "listingId": "lis1"105, "consolidationType": "STORE" } ], "successList": [ { "quantity": 30, "channelSkuCode": "301", "channelSerialNo": "457", "minExpiry": "2020-10-16", "consolidatedQuantity": "26", "consolidatedMinExpiry": "2020-10-16", "locationCode": "loc1", "listingId": "lis1"106, "consolidationType": "STORE" } ] } |
...