Availability V1

Update quantities

Changed on
post/v1/availability/quantities

Request

  • Base URL
    https://api.otto.market
  • URL
    https://api.otto.market/v1/availability/quantities
  • Auth
    HTTP bearer

Headers

Authorizationstring required

Access Token

Request body

quantityinteger required

The available quantity of a specific SKU.

skustring required

StockKeepingUnit given by partner configuration. e.g. 'shirt-red-M', external identifier of article variation.

Example request

[
  {
    "quantity": 123,
    "sku": "4007781056144"
  },
  {
    "quantity": 123,
    "sku": "4007781056145"
  }
]

Response

Ok

Changes

    • warning

      removed the optional property from the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • info

      added the optional property to the response with the status