Updates inventory information for a list of menu items.
An array of MenuItemInventory
objects for the menu items to be
updated, with the following values:
An identifier for the menu item to be updated. This may be either the
menu item's multiLocationId
or its guid
. See Toast
identifiers for more information on these two identifier types.
The status
for the menu item. Must be one of the following:
IN_STOCK
OUT_OF_STOCK
QUANTITY
For menu items with a status of QUANTITY
, you must also provide a
quantity
value that is a double greater than 0 (such as 0.5, 7.0, or
10.75). Do not include a quantity
value for menu items with a
status
of IN_STOCK
or OUT_OF_STOCK
.
guid | string <uuid> The unique GUID assigned to the menu item by the Toast platform. |
multiLocationId | string A consistent identifier that applies to all versions of a menu item that is shared across locations. See Toast identifiers for more information. |
quantity | number or null <double> Contains the amount of stock remaining when the menu item
This value is |
status | string The inventory status of the menu item. The
|
versionId | string <uuid> For future use. |
Successful operation
Bad request
[- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "status": "IN_STOCK",
- "quantity": 0,
- "multiLocationId": "string",
- "versionId": "14707576-2549-4848-82ed-f68f8a1b47c7"
}
]
[- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "itemGuidValidity": "VALID",
- "status": "IN_STOCK",
- "quantity": 0,
- "multiLocationId": "string",
- "versionId": "14707576-2549-4848-82ed-f68f8a1b47c7"
}
]