Menu List
GET
/menus
Request
Authorization
Add parameter in header
X-Api-Key
Example:
X-Api-Key: ********************
Header Params
X-Merchant-ID
stringΒ
required
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api-stg.atlas.kitchen/menus' \
--header 'X-Merchant-ID;'
Responses
π’200ListResponse
application/json
Body
object
stringΒ
required
menu
)items
arrayΒ [object {11}]Β
required
id
integerΒ
required
identifier
stringΒ
required
brand_id
integerΒ
required
start_date
stringΒ
required
YYYY-MM-DD
end_date
stringΒ
required
YYYY-MM-DD
name
stringΒ
required
state
enum<string>Β
required
Allowed values:
publisheddraft
tag_list
array[string]
required
lead_time
integerΒ
required
created_at
integerΒ
required
unix time
updated_at
integerΒ
required
unix time
Example
{
"object": "menu",
"items": [
{
"id": 8921,
"identifier": "atlas-kitchen-2024",
"brand_id": 231,
"start_date": "2024-01-01",
"end_date": "2024-12-31",
"name": "2024 Menu",
"state": "published",
"tag_list": [],
"lead_time": null,
"created_at": 1723628097,
"updated_at": 1723780269
},
{
"id": 8922,
"identifier": "atlas-kitchen-christmas-specials",
"brand_id": 231,
"start_date": "2024-12-01",
"end_date": "2025-01-15",
"name": "Christmas Specials",
"state": "draft",
"tag_list": [
"christmas"
],
"lead_time": null,
"created_at": 1723628097,
"updated_at": 1723780269
},
{
"id": 8924,
"identifier": "atlas-kitchen-grabfood",
"brand_id": 231,
"start_date": "2024-01-01",
"end_date": "2024-12-31",
"name": "Grabfood Menu",
"state": "published",
"tag_list": [
"grabfood",
"delivery"
],
"lead_time": null,
"created_at": 1723628097,
"updated_at": 1723780269
}
]
}
π΄500Server Error
π 401Unauthorized
Modified atΒ 2024-10-02 05:19:51