Businesses
Set Google Food Menus for your business
This endpoint allows you to set or update Google Food Menus for your business.
post/business/{business_id}/food_menus
Path parameters
business_idstring required
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.
Request body
Example request
{
"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"
}
}
]
}
]
}Response
OK
Example response
{
"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"
}
}
]
}
]
}