SetItemAvailabilityRequest
Schema
Fields
- locationIdstring
The location (kitchen) to change availability at. Required; absent is
400. Not yours, or not existing, is404. - itemIdstring
The item to change, by
ItemAvailability.itemId. Set exactly one ofitemId/sku— both or neither is400. An item whose brand your organization does not own is404. - skustring
The item to change, by SKU — the alternate key to
itemId; set exactly one of the two. SKUs are not unique: a SKU matching more than one of your items is409, and nothing is written. - availableboolean
The availability to set:
trueputs the item back in stock,falsemarks it unavailable ("86'd") at the location. Required; absent is400.