The Stock API retrieves inventory information for menu items and modifier options from a restaurant.
You can use the Stock API to:
All item inventory for a restaurant will be returned. Inventory
information is not returned for menu items with an
IN_STOCK
status. You can restrict the menu items in the
response data to either OUT_OF_STOCK
or QUANTITY
inventory
status using the status
query parameter.
Successful operation
Restaurant did not have any inventory information.
curl -i -X GET \ 'https://toast-api-server/stock/v1/inventory?status=string' \ -H 'Toast-Restaurant-External-ID: string'
[- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "itemGuidValidity": "VALID",
- "status": "IN_STOCK",
- "quantity": 0
}
]