Update the quantity available for one or more particular items.

​

Body·

required

Cancellation token to cancel the operation

  • Properties: 3

Responses

  • application/json
Request Example for put/v1/items-availability
curl https://apiint.api.parpos.com/order/v1/items-availability \
  --request PUT \
  --header 'Content-Type: application/json' \
  --header 'parpos-access-token: YOUR_SECRET_TOKEN' \
  --header 'parpos-location-token: YOUR_SECRET_TOKEN' \
  --data '{
  "Details": [
    {
      "IsAvailable": true,
      "ItemId": 4777171,
      "QuantityAvailable": 10
    },
    {
      "IsAvailable": true,
      "ItemId": 4777172,
      "QuantityAvailable": -1
    },
    {
      "IsAvailable": false,
      "ItemId": 4777173,
      "QuantityAvailable": 0
    }
  ]
}'
No Body