Fetch your stores
List the stores on your channel.
Safe to retry: this operation is read-only and idempotent.
Request
- offsetinteger
Stores to skip. Default
0. - limitinteger
Page size,
1to100. Default100.
{
"offset": 50,
"limit": 50
}Responses
Headers
- x-mealco-tx-idstringoptional
The correlation id for this call, returned on a response from an operation. Quote it when you report a problem so that we can trace the request. You may send your own x-mealco-tx-id on the request and it is used as the id. It is optional in the schema because a request with a malformed JSON body is rejected before an id is assigned.
- storesChannelStore[]
The page of stores, ordered stably so offset paging is consistent.
- totalinteger
How many stores your channel has in total.
{
"stores": [
{
"id": "00000000-0000-0000-0000-000000000000",
"code": "<code>",
"name": "<name>",
"brandName": "<brandName>",
"locationName": "<locationName>",
"timezone": "<timezone>",
"active": true
}
],
"total": 50
}About Stores
The stores on your channel, in every organization that sells through it. Only these stores accept your orders, and only their menus and orders are readable with your key.