Quantity still available for one or more particular Items.

​

Query Parameters

  • List one or more Ids of Item(s) to retrieve their availability

Responses

  • application/json
Request Example for get/v1/items-availability
curl 'https://apiint.api.parpos.com/order/v1/items-availability?itemIds=1' \
  --header 'parpos-access-token: YOUR_SECRET_TOKEN' \
  --header 'parpos-location-token: YOUR_SECRET_TOKEN'
Success
{
  "Data": [
    {
      "IsAvailable": true,
      "ItemId": 4777171,
      "QuantityAvailable": 10
    },
    {
      "IsAvailable": true,
      "ItemId": 4777172,
      "QuantityAvailable": -1
    },
    {
      "IsAvailable": false,
      "ItemId": 4777173,
      "QuantityAvailable": 0
    }
  ]
}