List inventory with dispatched reservations

Lists inventory with dispatched reservations. When the number of active reservations is more than 2000 the return is an error with status code 400 (BadRequest) and the message: Too many active reservations.

Request body example

curl --location --request GET 'https://{accountName}.{environment}' \
--header 'Content-Type: application/json; charset=utf-8' \
--header 'Accept: application/json' \
--header 'X-VTEX-API-AppKey: {{X-VTEX-API-AppKey}}' \
--header 'X-VTEX-API-AppToken: {{X-VTEX-API-AppToken}}'

Response body example

  "skuId": "19",
  "warehouseId": "1_1",
  "quantity": 2147483647,
  "isUnlimitedQuantity": true,
  "totalReservedQuantity": 13,
  "dispatchedReservationsQuantity": 0,
  "availableQuantity": 2147483634
Click Try It! to start a request and see the response here!