Set or update a Menu
POST/api/v2/businesses/:business_id/google/menus
This endpoint allows you to set or update Google My Business Food Menus for your business.
Request
Path Parameters
- application/json
Body
required
Array [
Array [
]
]
menus
object[]
Name of the food menu section.
A food menu item section.
items
object[]
Possible values: <= 140 characters
Name of the food menu item.
Display order of the food menu item in the food menu section.
Possible values: <= 1000 characters
Description of the food menu item.
Price of the food menu item.
media
object
User source url of the food menu item, mandatory to set/update media with food menu item
Public url the food menu item provided by partoo, can be empty in set/update.
Responses
- 201
- 400
- 401
- 403
- 404
- 422
- 500
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
]
menus
object[]
Name of the food menu section.
A food menu item section.
items
object[]
Possible values: <= 140 characters
Name of the food menu item.
Display order of the food menu item in the food menu section.
Possible values: <= 1000 characters
Description of the food menu item.
Price of the food menu item.
media
object
User source url of the food menu item, mandatory to set/update media with food menu item
Public url the food menu item provided by partoo, can be empty in set/update.
{
"menus": [
{
"name": "Starters",
"order": 3,
"items": [
{
"name": "Item name",
"order": 3,
"description": "string",
"price": 12.5,
"media": {
"id": "string",
"source_url": "string",
"public_url": "string"
}
}
]
}
]
}
- application/json
- Schema
- Example (from schema)
Schema
HTTP status code
Error message
Error name
{
"statusCode": 404,
"message": "Cannot find item",
"error": "Not Found"
}
- application/json
- Schema
- Example (from schema)
Schema
HTTP status code
Error message
Error name
{
"statusCode": 404,
"message": "Cannot find item",
"error": "Not Found"
}
- application/json
- Schema
- Example (from schema)
Schema
HTTP status code
Error message
Error name
{
"statusCode": 404,
"message": "Cannot find item",
"error": "Not Found"
}
- application/json
- Schema
- Example (from schema)
Schema
HTTP status code
Error message
Error name
{
"statusCode": 404,
"message": "Cannot find item",
"error": "Not Found"
}
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
HTTP status code
Error message
Possible values: [query
, body
, response
, param
]
Where in the request the error occurred
errors
object[]
required
Possible values: non-empty
Path to the property with the error
constraints
object
required
Error message
{
"statusCode": 404,
"message": "Cannot find item",
"location": "query",
"errors": [
{
"path": "business.id",
"constraints": {
"object_required_property": "Required property"
}
}
]
}
- application/json
- Schema
- Example (from schema)
Schema
HTTP status code
Error message
Error name
{
"statusCode": 404,
"message": "Cannot find item",
"error": "Not Found"
}