Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Inbound | PUT  | /usp/inventories/absolute

Summary

This API will be called by eWMS to update the inventory.

Description

This API will always send the inventory available for sale.

The inventory will always be absolute.

Note : One batch will contain 500 SKUs.

Request

Code Block
{
    "locationCode": "wd003",
    "products": [
        {
            "quantity": 40,
            "channelSkuCode":"ITEM302",
        }
    ]
}

 

Parameter Name

Data Type

Description

Mandatory

locationCode

String

Location from which inventory is being pushed

yes

 

orderItems

Object[]

List of products to be updated

yes

orderItems.channelskuCode

String

Scannable barcode on the product

yes

orderItems.Quantity

int

Ordered Quantity

yes

Response

Code Block
{
  "failureProducts": [],
  "successProducts": [
    "302"
  ]
}

 

HttpStatus : 200

 

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