Menus
Menu objects
This operation returns a list of menus.
Bearer HTTP authentication. Allowed headers-- Authorization: Bearer <api_key>
The number of resources to return in a single response.
Unique identifier.
^[a-zA-Z0-9-]+$Unique identifier.
^[a-zA-Z0-9-]+$Filters the objects that were updated after a specified datetime.
Timestamp in RFC 3339 format.
2023-10-16T14:30:00ZDate in RFC 3339 format.
2023-10-16Include all deleted menus in response.
Comma-separated list of UUIDs (each 36 characters).
5efa8b3c-b930-4b31-918d-95ab0e212e64,123e4567-e89b-12d3-a456-426614174000Pattern: ^([a-fA-F0-9\-]{36})(,[a-fA-F0-9\-]{36})*$Successful response with menus data in JSON:API format.
Bad request.
Unauthorized.
Unprocessable entity.
Too many requests.
Internal Server Error.
Service is unavailable.
GET /pos/v1/menus HTTP/1.1
Host: api.mews.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": [
{
"id": "31b14937-2524-491f-b0a0-dc0a7393ff33",
"type": "menus",
"attributes": {
"name": "Menu 1",
"status": "active",
"description": "Updated description",
"createdAt": "2025-01-23T13:01:03.409Z",
"updatedAt": "2025-01-23T13:01:03.409Z"
},
"relationships": {
"menuSections": {
"data": [
{
"id": "c53372e2-9aa1-452a-8965-2ea3fa514fb2",
"type": "menuSections"
}
]
}
},
"links": {
"self": "https://api.mews-demo.com/pos/v1/menus/c2380b6a-900b-4ac0-8c29-7382224a4907"
}
}
],
"links": {
"prev": "https://api.mews-demo.com/pos/v1/menus?page%5Bbefore%5D=NA&page%5Bsize%5D=1",
"next": "https://api.mews-demo.com/pos/v1/menus?page%5Bafter%5D=NA&page%5Bsize%5D=1"
}
}Retrieves details of a specific menu including its menu sections and associated outlets.
Bearer HTTP authentication. Allowed headers-- Authorization: Bearer <api_key>
Universally unique ID UUID.
2496b6bd-a326-4a5a-95c8-359c943dcee8Successful response with menu data in JSON:API format, including optional related resources.
Bad request.
Unauthorized.
Not found.
Unprocessable entity.
Too many requests.
Internal Server Error.
Service is unavailable.
GET /pos/v1/menus/{id} HTTP/1.1
Host: api.mews.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": {
"id": "5efa8b3c-b930-4b31-918d-95ab0e212e64",
"type": "text",
"attributes": {
"name": "Brunch menu.",
"status": "active",
"description": "Brunch menu with 3 courses.",
"deleted": false,
"createdAt": "2023-10-16T14:30:00Z",
"updatedAt": "2023-10-19T14:30:00Z",
"availabilityDays": [
"Monday",
"Tuesday",
"Wednesday"
],
"availabilityStartTime": "09:00",
"availabilityEndTime": "17:00"
},
"relationships": {
"menuSections": {
"data": [
{
"id": "5efa8b3c-b930-4b31-918d-95ab0e212e64",
"type": "text"
}
]
},
"outlets": {
"data": [
{
"id": "5efa8b3c-b930-4b31-918d-95ab0e212e64",
"type": "text"
}
]
}
},
"links": {
"self": "https://api.mews-develop.com/pos/v1/menus/5efa8b3c-b930-4b31-918d-95ab0e212e64"
}
},
"included": [
{
"id": "5efa8b3c-b930-4b31-918d-95ab0e212e64",
"type": "text",
"attributes": {
"name": "Starters",
"position": 5,
"createdAt": "2024-10-16T13:30:00Z",
"updatedAt": "2024-10-16T15:30:00Z"
}
}
]
}Last updated
Was this helpful?