Update food menus
Updates food menus for a GBP location. Send the full menus array. Use updateMask for partial updates.
API key authentication - use your Zernio API key as a Bearer token
In: header
Path Parameters
The Zernio account ID (from /v1/accounts)
Query Parameters
Override which location to target. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
Array of food menus to set
Field mask for partial updates (e.g. "menus")
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://zernio.com/api/v1/accounts/string/gmb-food-menus" \ -H "Content-Type: application/json" \ -d '{ "menus": [ { "labels": [ { "displayName": "Dinner Menu", "languageCode": "en" } ], "sections": [ { "labels": [ { "displayName": "Mains" } ], "items": [ { "labels": [ { "displayName": "Grilled Salmon", "description": "With seasonal vegetables" } ], "attributes": { "price": { "currencyCode": "USD", "units": "24" }, "allergen": [ "FISH" ] } } ] } ] } ], "updateMask": "menus" }'{
"success": true,
"accountId": "string",
"locationId": "string",
"name": "string",
"menus": [
{
"labels": [
{
"displayName": "string",
"description": "string",
"languageCode": "string"
}
],
"sections": [
{
"labels": [
{
"displayName": "string",
"description": "string",
"languageCode": "string"
}
],
"items": [
{
"labels": [
{
"displayName": "string",
"description": "string",
"languageCode": "string"
}
],
"attributes": {
"price": {
"currencyCode": "string",
"units": "string",
"nanos": 0
},
"spiciness": "string",
"allergen": [
"string"
],
"dietaryRestriction": [
"string"
],
"servesNumPeople": 0,
"preparationMethods": [
"string"
],
"mediaKeys": [
"string"
]
},
"options": [
{
"labels": [
{
"displayName": "string",
"description": "string",
"languageCode": "string"
}
],
"attributes": {
"price": {
"currencyCode": "string",
"units": "string",
"nanos": 0
},
"spiciness": "string",
"allergen": [
"string"
],
"dietaryRestriction": [
"string"
],
"servesNumPeople": 0,
"preparationMethods": [
"string"
],
"mediaKeys": [
"string"
]
}
}
]
}
]
}
],
"cuisines": [
"string"
],
"sourceUrl": "string"
}
]
}{
"error": "Request body must include a \"menus\" array"
}{
"error": "string",
"details": {}
}{
"error": "string",
"details": {}
}{
"error": "Not found"
}{
"error": "string",
"details": {}
}Get food menus GET
Returns food menus for a GBP location including sections, items, pricing, and dietary info. Only for locations with food menu support.
Get location details GET
Returns detailed GBP location info (hours, description, phone, website, categories, services). Use readMask to request specific fields.