curl --request GET \
--url https://api.partoo.co/v2/business/{business_id}/food_menus \
--header 'x-APIKey: <api-key>'{
"menus": [
{
"name": "Starters",
"order": 1,
"items": [
{
"name": "Starter 1",
"order": 1,
"description": "First starter of the food menu",
"price": 1,
"media": {
"source_url": "https://www.source_url.com/main_dishes",
"public_url": "https://www.partoo_url.com/main_dishes"
}
},
{
"name": "Starter 2",
"order": 2,
"description": "Second starter of the food menu",
"price": 5
}
]
},
{
"name": "Main dishes",
"order": 2,
"items": [
{
"name": "Today's special",
"order": 1,
"description": "Today's special description",
"price": 25,
"media": {
"source_url": "https://www.source_url.com/main_dishes",
"public_url": "https://www.partoo_url.com/main_dishes"
}
}
]
}
]
}This endpoint allows you to view the Google Food Menus set for your business.
curl --request GET \
--url https://api.partoo.co/v2/business/{business_id}/food_menus \
--header 'x-APIKey: <api-key>'{
"menus": [
{
"name": "Starters",
"order": 1,
"items": [
{
"name": "Starter 1",
"order": 1,
"description": "First starter of the food menu",
"price": 1,
"media": {
"source_url": "https://www.source_url.com/main_dishes",
"public_url": "https://www.partoo_url.com/main_dishes"
}
},
{
"name": "Starter 2",
"order": 2,
"description": "Second starter of the food menu",
"price": 5
}
]
},
{
"name": "Main dishes",
"order": 2,
"items": [
{
"name": "Today's special",
"order": 1,
"description": "Today's special description",
"price": 25,
"media": {
"source_url": "https://www.source_url.com/main_dishes",
"public_url": "https://www.partoo_url.com/main_dishes"
}
}
]
}
]
}Documentation Index
Fetch the complete documentation index at: https://developers.partoo.co/llms.txt
Use this file to discover all available pages before exploring further.
The authentication system on Partoo API is using API Key that should be put in the header of the request (the name of the header is x-APIKey). An api_key is linked to a user. This user's role will give you different access level to the API features.
Business id.
It may be replaced by c-{code} where code is the store code, which should be unique per organization. This can be used only for ORG_ADMIN, GROUP_MANAGER and BUSINESS_MANAGER users.
OK
A Google food menu for business.
Show child attributes
Was this page helpful?