Fetch a store's menu
Fetch what a store sells.
Statuses beyond the common ones: 404 the storeCode is unknown, retired or not on your channel.
Safe to retry: this operation is read-only and idempotent.
Request
- storeCodestring
Required. The store's
codefromfetchStores.
{
"storeCode": "<storeCode>"
}Responses
Headers
- x-mealco-tx-idstringoptional
The correlation id for this call, echoed on every response. Quote it when reporting a problem and we can find every log line for the request. You may also send your own x-mealco-tx-id on the request and we adopt it. Not marked required because a request whose JSON body is malformed is rejected before an id exists.
- menusMenu[]
The menus the store sells, with prices and availability resolved for that store. Usually one. Item and modifier ids here are what
createOrdertakes.
About Menus
The menus of the stores on your channel. Pull a store's menu with fetchMenu; you are told when items or the store change through the item.availability.changed and store.status.changed webhooks (store.status.changed is not sent yet, coming before sandbox access).