Versions Compared

Key

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

...

Parameter

Description

Cardinality

Approved values

StockAvailabilityStock availability composite1..n
ProductIdIdentification of the product for which the available stock is requested1..1


ProductIdTypeThe identification type of the product1..1EAN
QuantityAvailable24hrsThe number of products available at the time of this request and ready for delivery within 24 hours.1..1
QuantityAvailable48hrsThe number of products available at the time of this request and ready for delivery within 48 hours. This includes delivery within 24 hours.1..1

Example reply - Without message


Code Block
languageyml
titleExample reply - without message
collapsetrue
{
  "StockAvailability": [
    {
      "ProductId": "9780582275225",
      "ProductIdType": "EAN",
      "QuantityAvailable24hrs": "54",
      "QuantityAvailable48hrs": "1554"
    },
    {
      "ProductId": "9783259011928",
      "ProductIdType": "EAN",
      "QuantityAvailable24hrs": "11",
      "QuantityAvailable48hrs": "11"
    }
  ]
}

...

Code Block
languageyml
titleExample rely reply - with message
collapsetrue
{
  "Message": {
    "MessageType": "E",
    "MessageCode": "WMS-00011",
    "MessageText": "Invalid value for productIdType."
  }
}

...