Inbound | PUT | /updateInventories

Summary

This API will be used by the client POS systems to update Available to promise inventory for a store.

Description

Whenever any inventory change happens, Client POS system will sent Increff OMS current absolute available to sale inventory.

<aside> Note: One batch will contain 200 skus.

</aside>

Request

{
   "excludeNonDispatchedInventory": false,
   "inventories": [
      {
        "channelSkuCode": "sku",
        "locationCode": "loc1",
        "quantity": 1
      }
   ]
}
Parameter Name Data Type Description Mandatory
inventories Object[] List of inventories to be updated Yes
excludeNonDispatchedInventory Boolean Flag to exclude or include non-dispatched(allocated or fulfilled) inventory in updates received from POS.
• When this flag is false, the OMS will update the same inventory and same gets exposed to marketplaces.
• When this flag is true, the OMS will subtract the allocated and fulfilled qty from the inventory received from POS and then updated inventory would get exposed to marketplaces. No
(By Default it will be false)
locationCode String Identifier for a warehouse in channel Yes
quantity Integer Absolute quantity available for sale sale in Increff Omni Yes
channelSkuCode String Code used by channel to identify an SKU Yes

Response

{
  "successList": [
    {
      "channelSkuCode": "sku",
      "locationCode": "loc1",
      "quantity": 1
    }
  ],
  "failureList": [
    {
      "channelSkuCode": "sku2",
      "locationCode": "loc1",
      "quantity": 1
    },
    {
      "channelSkuCode": "sku3",
      "locationCode": "loc1",
      "quantity": 1
    }
  ]
}

Http Status

200