Get Google Business food menus
Returns the complete FoodMenus resource for the selected or explicitly targeted accessible location.
TEST MODE ONLY TODAY. No Google Business adapter is composed into the live registry, so a Google Business account cannot be connected in live mode and this operation fails closed there rather than returning partial data. Setting a live-mode environment flag does not change this. Use test mode for this vertical.
Authentication
The following security requirement applies to this operation.
Read the authentication guideParameters
accountIdpathrequiredaccountIdstringrequired- pattern
^[0-9a-f]{24}$
Original schema
{
"type": "string",
"pattern": "^[0-9a-f]{24}$"
}locationIdqueryoptionalOptional accessible Google location id; defaults to the selected location.
locationIdstring- pattern
^[1-9]\d{0,29}$
Original schema
{
"type": "string",
"pattern": "^[1-9]\\d{0,29}$"
}Responses
Status codes and shapes declared for this operation. Read each description for the meaning of that response.
200Response schema
Response 200object
- additionalProperties
false- required
[ "success", "accountId", "locationId", "name", "menus" ]
successbooleanrequired- enum
[ true ]
accountIdstringrequired- pattern
^[0-9a-f]{24}$
locationIdstringrequired- pattern
^[1-9]\d{0,29}$
namestringrequired- pattern
^accounts/[1-9]\d{0,29}/locations/[1-9]\d{0,29}/foodMenus$
menusarrayrequired
- maxItems
100
Array itemobject
- additionalProperties
false- required
[ "labels", "sections" ]
labelsarrayrequired
- minItems
1- maxItems
100
Array itemobject
- additionalProperties
false- required
[ "displayName" ]
displayNamestringrequired- minLength
1- maxLength
140
descriptionstring- maxLength
1000
languageCodestring- pattern
^[A-Za-z]{2,8}(?:-[A-Za-z0-9]{1,8}){0,8}$
sectionsarrayrequired
- minItems
1- maxItems
1000
Array itemobject
- additionalProperties
false- required
[ "labels", "items" ]
labelsarrayrequired
- minItems
1- maxItems
100
Array itemobject
- additionalProperties
false- required
[ "displayName" ]
displayNamestringrequired- minLength
1- maxLength
140
descriptionstring- maxLength
1000
languageCodestring- pattern
^[A-Za-z]{2,8}(?:-[A-Za-z0-9]{1,8}){0,8}$
itemsarrayrequired
- minItems
1- maxItems
10000
Array itemobject
- additionalProperties
false- required
[ "labels", "attributes" ]
labelsarrayrequired
- minItems
1- maxItems
100
Array itemobject
- additionalProperties
false- required
[ "displayName" ]
displayNamestringrequired- minLength
1- maxLength
140
descriptionstring- maxLength
1000
languageCodestring- pattern
^[A-Za-z]{2,8}(?:-[A-Za-z0-9]{1,8}){0,8}$
attributesallOfrequired
Base item attributes must include price.
allOf / 1object
- additionalProperties
false
priceallOf
Required on base menu items; optional on variants that inherit it.
allOf / 1object
- additionalProperties
false- required
[ "currencyCode", "units" ]
currencyCodestringrequired- pattern
^[A-Z]{3}$
unitsstringrequired- pattern
^(?:0|[1-9]\d{0,18})$
nanosnumber- minimum
0- maximum
999999999
spicinessstring- enum
[ "SPICINESS_UNSPECIFIED", "MILD", "MEDIUM", "HOT" ]
allergenarray
- maxItems
20
Array itemstring- enum
[ "ALLERGEN_UNSPECIFIED", "DAIRY", "EGG", "FISH", "PEANUT", "SHELLFISH", "SOY", "TREE_NUT", "WHEAT" ]
dietaryRestrictionarray
- maxItems
20
Array itemstring- enum
[ "DIETARY_RESTRICTION_UNSPECIFIED", "HALAL", "KOSHER", "ORGANIC", "VEGAN", "VEGETARIAN" ]
nutritionFactsobject
- additionalProperties
false
caloriesobject
- additionalProperties
false- required
[ "lowerAmount", "unit" ]
lowerAmountnumberrequired- minimum
0- maximum
2147483647
upperAmountnumber- minimum
0- maximum
2147483647
unitstringrequired- enum
[ "ENERGY_UNIT_UNSPECIFIED", "CALORIE", "JOULE" ]
totalFatobject
- additionalProperties
false- required
[ "lowerAmount", "unit" ]
lowerAmountnumberrequired- minimum
0
upperAmountnumber- minimum
0
unitstringrequired- enum
[ "MASS_UNIT_UNSPECIFIED", "GRAM", "MILLIGRAM" ]
cholesterolobject
- additionalProperties
false- required
[ "lowerAmount", "unit" ]
lowerAmountnumberrequired- minimum
0
upperAmountnumber- minimum
0
unitstringrequired- enum
[ "MASS_UNIT_UNSPECIFIED", "GRAM", "MILLIGRAM" ]
sodiumobject
- additionalProperties
false- required
[ "lowerAmount", "unit" ]
lowerAmountnumberrequired- minimum
0
upperAmountnumber- minimum
0
unitstringrequired- enum
[ "MASS_UNIT_UNSPECIFIED", "GRAM", "MILLIGRAM" ]
totalCarbohydrateobject
- additionalProperties
false- required
[ "lowerAmount", "unit" ]
lowerAmountnumberrequired- minimum
0
upperAmountnumber- minimum
0
unitstringrequired- enum
[ "MASS_UNIT_UNSPECIFIED", "GRAM", "MILLIGRAM" ]
proteinobject
- additionalProperties
false- required
[ "lowerAmount", "unit" ]
lowerAmountnumberrequired- minimum
0
upperAmountnumber- minimum
0
unitstringrequired- enum
[ "MASS_UNIT_UNSPECIFIED", "GRAM", "MILLIGRAM" ]
ingredientsarray
- maxItems
1000
Array itemobject
- additionalProperties
false- required
[ "labels" ]
labelsarrayrequired
- minItems
1- maxItems
100
Array itemobject
- additionalProperties
false- required
[ "displayName" ]
displayNamestringrequired
The expanded view stops here. Inspect the raw schema and referenced definitions for the remaining structure.
- minLength
1- maxLength
140
descriptionstring
The expanded view stops here. Inspect the raw schema and referenced definitions for the remaining structure.
- maxLength
1000
languageCodestring
The expanded view stops here. Inspect the raw schema and referenced definitions for the remaining structure.
- pattern
^[A-Za-z]{2,8}(?:-[A-Za-z0-9]{1,8}){0,8}$
servesNumPeoplenumber- minimum
1- maximum
2147483647
preparationMethodsarray
- maxItems
25
Array itemstring- enum
[ "PREPARATION_METHOD_UNSPECIFIED", "BAKED", "BARBECUED", "BASTED", "BLANCHED", "BOILED", "BRAISED", "CODDLED", "FERMENTED", "FRIED", "GRILLED", "KNEADED", "MARINATED", "PAN_FRIED", "PICKLED", "PRESSURE_COOKED", "ROASTED", "SAUTEED", "SEARED", "SIMMERED", "SMOKED", "STEAMED", "STEEPED", "STIR_FRIED", "OTHER_METHOD" ]
portionSizeobject
- additionalProperties
false- required
[ "quantity", "unit" ]
quantitynumberrequired- minimum
1- maximum
2147483647
unitarrayrequired
- minItems
1- maxItems
100
Array itemobject
- additionalProperties
false- required
[ "displayName" ]
displayNamestringrequired- minLength
1- maxLength
140
descriptionstring- maxLength
1000
languageCodestring- pattern
^[A-Za-z]{2,8}(?:-[A-Za-z0-9]{1,8}){0,8}$
mediaKeysarray
Provider media keys; at most 200 dish-photo associations per resource.
- maxItems
200
Array itemstring- maxLength
512
optionsarray
- maxItems
10000
Array itemobject
- additionalProperties
false- required
[ "labels", "attributes" ]
labelsarrayrequired
- minItems
1- maxItems
100
Array itemobject
- additionalProperties
false- required
[ "displayName" ]
displayNamestringrequired- minLength
1- maxLength
140
descriptionstring- maxLength
1000
languageCodestring- pattern
^[A-Za-z]{2,8}(?:-[A-Za-z0-9]{1,8}){0,8}$
attributesobjectrequired
- additionalProperties
false
priceallOf
Required on base menu items; optional on variants that inherit it.
allOf / 1object
- additionalProperties
false- required
[ "currencyCode", "units" ]
currencyCodestringrequired- pattern
^[A-Z]{3}$
unitsstringrequired- pattern
^(?:0|[1-9]\d{0,18})$
nanosnumber- minimum
0- maximum
999999999
spicinessstring- enum
[ "SPICINESS_UNSPECIFIED", "MILD", "MEDIUM", "HOT" ]
allergenarray
- maxItems
20
Array itemstring- enum
[ "ALLERGEN_UNSPECIFIED", "DAIRY", "EGG", "FISH", "PEANUT", "SHELLFISH", "SOY", "TREE_NUT", "WHEAT" ]
dietaryRestrictionarray
- maxItems
20
Array itemstring- enum
[ "DIETARY_RESTRICTION_UNSPECIFIED", "HALAL", "KOSHER", "ORGANIC", "VEGAN", "VEGETARIAN" ]
nutritionFactsobject
- additionalProperties
false
caloriesobject
- additionalProperties
false- required
[ "lowerAmount", "unit" ]
lowerAmountnumberrequired- minimum
0- maximum
2147483647
upperAmountnumber- minimum
0- maximum
2147483647
unitstringrequired- enum
[ "ENERGY_UNIT_UNSPECIFIED", "CALORIE", "JOULE" ]
totalFatobject
- additionalProperties
false- required
[ "lowerAmount", "unit" ]
lowerAmountnumberrequired- minimum
0
upperAmountnumber- minimum
0
unitstringrequired- enum
[ "MASS_UNIT_UNSPECIFIED", "GRAM", "MILLIGRAM" ]
cholesterolobject
- additionalProperties
false- required
[ "lowerAmount", "unit" ]
lowerAmountnumberrequired- minimum
0
upperAmountnumber- minimum
0
unitstringrequired- enum
[ "MASS_UNIT_UNSPECIFIED", "GRAM", "MILLIGRAM" ]
sodiumobject
- additionalProperties
false- required
[ "lowerAmount", "unit" ]
lowerAmountnumberrequired- minimum
0
upperAmountnumber- minimum
0
unitstringrequired- enum
[ "MASS_UNIT_UNSPECIFIED", "GRAM", "MILLIGRAM" ]
totalCarbohydrateobject
- additionalProperties
false- required
[ "lowerAmount", "unit" ]
lowerAmountnumberrequired- minimum
0
upperAmountnumber- minimum
0
unitstringrequired- enum
[ "MASS_UNIT_UNSPECIFIED", "GRAM", "MILLIGRAM" ]
proteinobject
- additionalProperties
false- required
[ "lowerAmount", "unit" ]
lowerAmountnumberrequired- minimum
0
upperAmountnumber- minimum
0
unitstringrequired- enum
[ "MASS_UNIT_UNSPECIFIED", "GRAM", "MILLIGRAM" ]
ingredientsarray
- maxItems
1000
Array itemobject
- additionalProperties
false- required
[ "labels" ]
labelsarrayrequired
- minItems
1- maxItems
100
Array itemreference
The expanded view stops here. Inspect the raw schema and referenced definitions for the remaining structure.
servesNumPeoplenumber- minimum
1- maximum
2147483647
preparationMethodsarray
- maxItems
25
Array itemstring- enum
[ "PREPARATION_METHOD_UNSPECIFIED", "BAKED", "BARBECUED", "BASTED", "BLANCHED", "BOILED", "BRAISED", "CODDLED", "FERMENTED", "FRIED", "GRILLED", "KNEADED", "MARINATED", "PAN_FRIED", "PICKLED", "PRESSURE_COOKED", "ROASTED", "SAUTEED", "SEARED", "SIMMERED", "SMOKED", "STEAMED", "STEEPED", "STIR_FRIED", "OTHER_METHOD" ]
portionSizeobject
- additionalProperties
false- required
[ "quantity", "unit" ]
quantitynumberrequired- minimum
1- maximum
2147483647
unitarrayrequired
- minItems
1- maxItems
100
Array itemobject
- additionalProperties
false- required
[ "displayName" ]
displayNamestringrequired
The expanded view stops here. Inspect the raw schema and referenced definitions for the remaining structure.
- minLength
1- maxLength
140
descriptionstring
The expanded view stops here. Inspect the raw schema and referenced definitions for the remaining structure.
- maxLength
1000
languageCodestring
The expanded view stops here. Inspect the raw schema and referenced definitions for the remaining structure.
- pattern
^[A-Za-z]{2,8}(?:-[A-Za-z0-9]{1,8}){0,8}$
mediaKeysarray
Provider media keys; at most 200 dish-photo associations per resource.
- maxItems
200
Array itemstring- maxLength
512
cuisinesarray
Array itemstring- enum
[ "CUISINE_UNSPECIFIED", "AMERICAN", "ASIAN", "BRAZILIAN", "BREAK_FAST", "BRUNCH", "CHICKEN", "CHINESE", "FAMILY", "FAST_FOOD", "FRENCH", "GREEK", "GERMAN", "HAMBURGER", "INDIAN", "INDONESIAN", "ITALIAN", "JAPANESE", "KOREAN", "LATIN_AMERICAN", "MEDITERRANEAN", "MEXICAN", "PAKISTANI", "PIZZA", "SEAFOOD", "SPANISH", "SUSHI", "THAI", "TURKISH", "VEGETARIAN", "VIETNAMESE", "OTHER_CUISINE" ]
sourceUrlstring- format
uri
Original schema
{
"$ref": "#/components/schemas/GoogleBusinessFoodMenusResponseDto"
}400Response schema
Response 400object
- required
[ "error", "type", "code", "docUrl", "requestId" ]
errorstringrequiredHuman-readable message. UNSTABLE — do not branch on it.
- example
WhatsApp session window expired; use a template message.
typestringrequiredStable error category (does not change across versions).
- enum
[ "invalid_request_error", "authentication_error", "permission_error", "not_found", "conflict", "rate_limit_error", "platform_error", "platform_rejected", "account_disconnected", "media_error", "api_error" ]- example
invalid_request_error
codestringrequiredStable machine-readable code.
- example
whatsapp_window_expired
paramstringOffending parameter, present only when relevant.
- example
body
docUrlstringrequiredhttps://docs.zumpo.io/errors/{code}
- example
https://docs.zumpo.io/errors/whatsapp_window_expired
requestIdstringrequiredSupport correlation id: req_ + 16 hex.
- example
req_7f3a9c2e1b8d4056
detailsobjectAdditional structured context, present only when an error has more to say than a single param can carry. Values are generated by this API (identifiers, node names); provider text and raw upstream payloads are never placed here. Example: a multi-step ad create that fails part-way performs no compensating delete and returns what it already built, so the caller can attach to the surviving ad set instead of losing it.
- additionalProperties
true- example
{ "created": [ { "kind": "campaign", "platformId": "120210000000000001" }, { "kind": "adSet", "platformId": "120210000000000002" } ] }
Original schema
{
"$ref": "#/components/schemas/ZumpoErrorDto"
}401Authentication failed
Authentication failed
Response 401object
- required
[ "error", "type", "code", "docUrl", "requestId" ]
errorstringrequiredHuman-readable message. UNSTABLE — do not branch on it.
- example
WhatsApp session window expired; use a template message.
typestringrequiredStable error category (does not change across versions).
- enum
[ "invalid_request_error", "authentication_error", "permission_error", "not_found", "conflict", "rate_limit_error", "platform_error", "platform_rejected", "account_disconnected", "media_error", "api_error" ]- example
invalid_request_error
codestringrequiredStable machine-readable code.
- example
whatsapp_window_expired
paramstringOffending parameter, present only when relevant.
- example
body
docUrlstringrequiredhttps://docs.zumpo.io/errors/{code}
- example
https://docs.zumpo.io/errors/whatsapp_window_expired
requestIdstringrequiredSupport correlation id: req_ + 16 hex.
- example
req_7f3a9c2e1b8d4056
detailsobjectAdditional structured context, present only when an error has more to say than a single param can carry. Values are generated by this API (identifiers, node names); provider text and raw upstream payloads are never placed here. Example: a multi-step ad create that fails part-way performs no compensating delete and returns what it already built, so the caller can attach to the surviving ad set instead of losing it.
- additionalProperties
true- example
{ "created": [ { "kind": "campaign", "platformId": "120210000000000001" }, { "kind": "adSet", "platformId": "120210000000000002" } ] }
Original schema
{
"$ref": "#/components/schemas/ZumpoErrorDto"
}403Response schema
Response 403object
- required
[ "error", "type", "code", "docUrl", "requestId" ]
errorstringrequiredHuman-readable message. UNSTABLE — do not branch on it.
- example
WhatsApp session window expired; use a template message.
typestringrequiredStable error category (does not change across versions).
- enum
[ "invalid_request_error", "authentication_error", "permission_error", "not_found", "conflict", "rate_limit_error", "platform_error", "platform_rejected", "account_disconnected", "media_error", "api_error" ]- example
invalid_request_error
codestringrequiredStable machine-readable code.
- example
whatsapp_window_expired
paramstringOffending parameter, present only when relevant.
- example
body
docUrlstringrequiredhttps://docs.zumpo.io/errors/{code}
- example
https://docs.zumpo.io/errors/whatsapp_window_expired
requestIdstringrequiredSupport correlation id: req_ + 16 hex.
- example
req_7f3a9c2e1b8d4056
detailsobjectAdditional structured context, present only when an error has more to say than a single param can carry. Values are generated by this API (identifiers, node names); provider text and raw upstream payloads are never placed here. Example: a multi-step ad create that fails part-way performs no compensating delete and returns what it already built, so the caller can attach to the surviving ad set instead of losing it.
- additionalProperties
true- example
{ "created": [ { "kind": "campaign", "platformId": "120210000000000001" }, { "kind": "adSet", "platformId": "120210000000000002" } ] }
Original schema
{
"$ref": "#/components/schemas/ZumpoErrorDto"
}404Response schema
Response 404object
- required
[ "error", "type", "code", "docUrl", "requestId" ]
errorstringrequiredHuman-readable message. UNSTABLE — do not branch on it.
- example
WhatsApp session window expired; use a template message.
typestringrequiredStable error category (does not change across versions).
- enum
[ "invalid_request_error", "authentication_error", "permission_error", "not_found", "conflict", "rate_limit_error", "platform_error", "platform_rejected", "account_disconnected", "media_error", "api_error" ]- example
invalid_request_error
codestringrequiredStable machine-readable code.
- example
whatsapp_window_expired
paramstringOffending parameter, present only when relevant.
- example
body
docUrlstringrequiredhttps://docs.zumpo.io/errors/{code}
- example
https://docs.zumpo.io/errors/whatsapp_window_expired
requestIdstringrequiredSupport correlation id: req_ + 16 hex.
- example
req_7f3a9c2e1b8d4056
detailsobjectAdditional structured context, present only when an error has more to say than a single param can carry. Values are generated by this API (identifiers, node names); provider text and raw upstream payloads are never placed here. Example: a multi-step ad create that fails part-way performs no compensating delete and returns what it already built, so the caller can attach to the surviving ad set instead of losing it.
- additionalProperties
true- example
{ "created": [ { "kind": "campaign", "platformId": "120210000000000001" }, { "kind": "adSet", "platformId": "120210000000000002" } ] }
Original schema
{
"$ref": "#/components/schemas/ZumpoErrorDto"
}409Response schema
Response 409object
- required
[ "error", "type", "code", "docUrl", "requestId" ]
errorstringrequiredHuman-readable message. UNSTABLE — do not branch on it.
- example
WhatsApp session window expired; use a template message.
typestringrequiredStable error category (does not change across versions).
- enum
[ "invalid_request_error", "authentication_error", "permission_error", "not_found", "conflict", "rate_limit_error", "platform_error", "platform_rejected", "account_disconnected", "media_error", "api_error" ]- example
invalid_request_error
codestringrequiredStable machine-readable code.
- example
whatsapp_window_expired
paramstringOffending parameter, present only when relevant.
- example
body
docUrlstringrequiredhttps://docs.zumpo.io/errors/{code}
- example
https://docs.zumpo.io/errors/whatsapp_window_expired
requestIdstringrequiredSupport correlation id: req_ + 16 hex.
- example
req_7f3a9c2e1b8d4056
detailsobjectAdditional structured context, present only when an error has more to say than a single param can carry. Values are generated by this API (identifiers, node names); provider text and raw upstream payloads are never placed here. Example: a multi-step ad create that fails part-way performs no compensating delete and returns what it already built, so the caller can attach to the surviving ad set instead of losing it.
- additionalProperties
true- example
{ "created": [ { "kind": "campaign", "platformId": "120210000000000001" }, { "kind": "adSet", "platformId": "120210000000000002" } ] }
Original schema
{
"$ref": "#/components/schemas/ZumpoErrorDto"
}429Response schema
Response 429object
- required
[ "error", "type", "code", "docUrl", "requestId" ]
errorstringrequiredHuman-readable message. UNSTABLE — do not branch on it.
- example
WhatsApp session window expired; use a template message.
typestringrequiredStable error category (does not change across versions).
- enum
[ "invalid_request_error", "authentication_error", "permission_error", "not_found", "conflict", "rate_limit_error", "platform_error", "platform_rejected", "account_disconnected", "media_error", "api_error" ]- example
invalid_request_error
codestringrequiredStable machine-readable code.
- example
whatsapp_window_expired
paramstringOffending parameter, present only when relevant.
- example
body
docUrlstringrequiredhttps://docs.zumpo.io/errors/{code}
- example
https://docs.zumpo.io/errors/whatsapp_window_expired
requestIdstringrequiredSupport correlation id: req_ + 16 hex.
- example
req_7f3a9c2e1b8d4056
detailsobjectAdditional structured context, present only when an error has more to say than a single param can carry. Values are generated by this API (identifiers, node names); provider text and raw upstream payloads are never placed here. Example: a multi-step ad create that fails part-way performs no compensating delete and returns what it already built, so the caller can attach to the surviving ad set instead of losing it.
- additionalProperties
true- example
{ "created": [ { "kind": "campaign", "platformId": "120210000000000001" }, { "kind": "adSet", "platformId": "120210000000000002" } ] }
Original schema
{
"$ref": "#/components/schemas/ZumpoErrorDto"
}Response headers
X-RateLimit-Limit
Request ceiling that applied to this request. Authenticated requests use the team tier ceiling; unauthenticated identity endpoints use a per-IP ceiling. Usage is measured continuously against a trailing period rather than tallied and cleared at a boundary, so the full ceiling never becomes available again in one step.
X-RateLimit-Limitinteger- minimum
1
Original schema
{
"type": "integer",
"minimum": 1
}X-RateLimit-Remaining
Requests still allowed against that ceiling; never negative. On a 429 produced by the request throttler this is 0. Such a refused request is not counted, so retrying too early costs you no capacity and does not push your recovery further away.
X-RateLimit-Remaininginteger- minimum
0
Original schema
{
"type": "integer",
"minimum": 0
}X-RateLimit-Reset
Absolute Unix epoch time, in SECONDS, at which the current counting period turns over. This is NOT the number of seconds left: subtract the current time to obtain that. It is also NOT the moment your capacity returns: earlier usage keeps weighing on the ceiling across the turnover, so after a 429 wait for Retry-After instead, which is usually later than this value.
X-RateLimit-Resetinteger- format
int64- minimum
0
Original schema
{
"type": "integer",
"format": "int64",
"minimum": 0
}Retry-After
Seconds to wait before retrying. Always a positive integer delta (never an HTTP-date), at least 1. On a 429 from the request throttler it is the wait until your usage actually drops back under the ceiling; prefer it over any delay you compute from X-RateLimit-Reset.
Retry-Afterinteger- minimum
1- maximum
86400
Original schema
{
"type": "integer",
"minimum": 1,
"maximum": 86400
}500Server error
Server error
Response 500object
- required
[ "error", "type", "code", "docUrl", "requestId" ]
errorstringrequiredHuman-readable message. UNSTABLE — do not branch on it.
- example
WhatsApp session window expired; use a template message.
typestringrequiredStable error category (does not change across versions).
- enum
[ "invalid_request_error", "authentication_error", "permission_error", "not_found", "conflict", "rate_limit_error", "platform_error", "platform_rejected", "account_disconnected", "media_error", "api_error" ]- example
invalid_request_error
codestringrequiredStable machine-readable code.
- example
whatsapp_window_expired
paramstringOffending parameter, present only when relevant.
- example
body
docUrlstringrequiredhttps://docs.zumpo.io/errors/{code}
- example
https://docs.zumpo.io/errors/whatsapp_window_expired
requestIdstringrequiredSupport correlation id: req_ + 16 hex.
- example
req_7f3a9c2e1b8d4056
detailsobjectAdditional structured context, present only when an error has more to say than a single param can carry. Values are generated by this API (identifiers, node names); provider text and raw upstream payloads are never placed here. Example: a multi-step ad create that fails part-way performs no compensating delete and returns what it already built, so the caller can attach to the surviving ad set instead of losing it.
- additionalProperties
true- example
{ "created": [ { "kind": "campaign", "platformId": "120210000000000001" }, { "kind": "adSet", "platformId": "120210000000000002" } ] }
Original schema
{
"$ref": "#/components/schemas/ZumpoErrorDto"
}502Response schema
Response 502object
- required
[ "error", "type", "code", "docUrl", "requestId" ]
errorstringrequiredHuman-readable message. UNSTABLE — do not branch on it.
- example
WhatsApp session window expired; use a template message.
typestringrequiredStable error category (does not change across versions).
- enum
[ "invalid_request_error", "authentication_error", "permission_error", "not_found", "conflict", "rate_limit_error", "platform_error", "platform_rejected", "account_disconnected", "media_error", "api_error" ]- example
invalid_request_error
codestringrequiredStable machine-readable code.
- example
whatsapp_window_expired
paramstringOffending parameter, present only when relevant.
- example
body
docUrlstringrequiredhttps://docs.zumpo.io/errors/{code}
- example
https://docs.zumpo.io/errors/whatsapp_window_expired
requestIdstringrequiredSupport correlation id: req_ + 16 hex.
- example
req_7f3a9c2e1b8d4056
detailsobjectAdditional structured context, present only when an error has more to say than a single param can carry. Values are generated by this API (identifiers, node names); provider text and raw upstream payloads are never placed here. Example: a multi-step ad create that fails part-way performs no compensating delete and returns what it already built, so the caller can attach to the surviving ad set instead of losing it.
- additionalProperties
true- example
{ "created": [ { "kind": "campaign", "platformId": "120210000000000001" }, { "kind": "adSet", "platformId": "120210000000000002" } ] }
Original schema
{
"$ref": "#/components/schemas/ZumpoErrorDto"
}503Response schema
Response 503object
- required
[ "error", "type", "code", "docUrl", "requestId" ]
errorstringrequiredHuman-readable message. UNSTABLE — do not branch on it.
- example
WhatsApp session window expired; use a template message.
typestringrequiredStable error category (does not change across versions).
- enum
[ "invalid_request_error", "authentication_error", "permission_error", "not_found", "conflict", "rate_limit_error", "platform_error", "platform_rejected", "account_disconnected", "media_error", "api_error" ]- example
invalid_request_error
codestringrequiredStable machine-readable code.
- example
whatsapp_window_expired
paramstringOffending parameter, present only when relevant.
- example
body
docUrlstringrequiredhttps://docs.zumpo.io/errors/{code}
- example
https://docs.zumpo.io/errors/whatsapp_window_expired
requestIdstringrequiredSupport correlation id: req_ + 16 hex.
- example
req_7f3a9c2e1b8d4056
detailsobjectAdditional structured context, present only when an error has more to say than a single param can carry. Values are generated by this API (identifiers, node names); provider text and raw upstream payloads are never placed here. Example: a multi-step ad create that fails part-way performs no compensating delete and returns what it already built, so the caller can attach to the surviving ad set instead of losing it.
- additionalProperties
true- example
{ "created": [ { "kind": "campaign", "platformId": "120210000000000001" }, { "kind": "adSet", "platformId": "120210000000000002" } ] }
Original schema
{
"$ref": "#/components/schemas/ZumpoErrorDto"
}Referenced schemas
Original local definitions used by this operation. Recursive and deeply nested references can be inspected here without expanding them repeatedly.
GoogleBusinessFoodMenusResponseDto
#/components/schemas/GoogleBusinessFoodMenusResponseDto
{
"type": "object",
"properties": {
"success": {
"type": "boolean",
"enum": [
true
]
},
"accountId": {
"type": "string",
"pattern": "^[0-9a-f]{24}$"
},
"locationId": {
"type": "string",
"pattern": "^[1-9]\\d{0,29}$"
},
"name": {
"type": "string",
"pattern": "^accounts/[1-9]\\d{0,29}/locations/[1-9]\\d{0,29}/foodMenus$"
},
"menus": {
"maxItems": 100,
"type": "array",
"items": {
"$ref": "#/components/schemas/GoogleBusinessFoodMenuDto"
}
}
},
"additionalProperties": false,
"required": [
"success",
"accountId",
"locationId",
"name",
"menus"
]
}GoogleBusinessFoodMenuDto
#/components/schemas/GoogleBusinessFoodMenuDto
{
"type": "object",
"properties": {
"labels": {
"minItems": 1,
"maxItems": 100,
"type": "array",
"items": {
"$ref": "#/components/schemas/GoogleBusinessFoodMenuLabelDto"
}
},
"sections": {
"minItems": 1,
"maxItems": 1000,
"type": "array",
"items": {
"$ref": "#/components/schemas/GoogleBusinessFoodMenuSectionDto"
}
},
"cuisines": {
"type": "array",
"items": {
"type": "string",
"enum": [
"CUISINE_UNSPECIFIED",
"AMERICAN",
"ASIAN",
"BRAZILIAN",
"BREAK_FAST",
"BRUNCH",
"CHICKEN",
"CHINESE",
"FAMILY",
"FAST_FOOD",
"FRENCH",
"GREEK",
"GERMAN",
"HAMBURGER",
"INDIAN",
"INDONESIAN",
"ITALIAN",
"JAPANESE",
"KOREAN",
"LATIN_AMERICAN",
"MEDITERRANEAN",
"MEXICAN",
"PAKISTANI",
"PIZZA",
"SEAFOOD",
"SPANISH",
"SUSHI",
"THAI",
"TURKISH",
"VEGETARIAN",
"VIETNAMESE",
"OTHER_CUISINE"
]
}
},
"sourceUrl": {
"type": "string",
"format": "uri"
}
},
"additionalProperties": false,
"required": [
"labels",
"sections"
]
}GoogleBusinessFoodMenuLabelDto
#/components/schemas/GoogleBusinessFoodMenuLabelDto
{
"type": "object",
"properties": {
"displayName": {
"type": "string",
"minLength": 1,
"maxLength": 140
},
"description": {
"type": "string",
"maxLength": 1000
},
"languageCode": {
"type": "string",
"pattern": "^[A-Za-z]{2,8}(?:-[A-Za-z0-9]{1,8}){0,8}$"
}
},
"additionalProperties": false,
"required": [
"displayName"
]
}GoogleBusinessFoodMenuSectionDto
#/components/schemas/GoogleBusinessFoodMenuSectionDto
{
"type": "object",
"properties": {
"labels": {
"minItems": 1,
"maxItems": 100,
"type": "array",
"items": {
"$ref": "#/components/schemas/GoogleBusinessFoodMenuLabelDto"
}
},
"items": {
"minItems": 1,
"maxItems": 10000,
"type": "array",
"items": {
"$ref": "#/components/schemas/GoogleBusinessFoodMenuItemDto"
}
}
},
"additionalProperties": false,
"required": [
"labels",
"items"
]
}GoogleBusinessFoodMenuItemDto
#/components/schemas/GoogleBusinessFoodMenuItemDto
{
"type": "object",
"properties": {
"labels": {
"minItems": 1,
"maxItems": 100,
"type": "array",
"items": {
"$ref": "#/components/schemas/GoogleBusinessFoodMenuLabelDto"
}
},
"attributes": {
"description": "Base item attributes must include price.",
"allOf": [
{
"$ref": "#/components/schemas/GoogleBusinessFoodMenuItemAttributesDto"
}
]
},
"options": {
"maxItems": 10000,
"type": "array",
"items": {
"$ref": "#/components/schemas/GoogleBusinessFoodMenuItemOptionDto"
}
}
},
"additionalProperties": false,
"required": [
"labels",
"attributes"
]
}GoogleBusinessFoodMenuItemAttributesDto
#/components/schemas/GoogleBusinessFoodMenuItemAttributesDto
{
"type": "object",
"properties": {
"price": {
"description": "Required on base menu items; optional on variants that inherit it.",
"allOf": [
{
"$ref": "#/components/schemas/GoogleBusinessFoodMenuMoneyDto"
}
]
},
"spiciness": {
"type": "string",
"enum": [
"SPICINESS_UNSPECIFIED",
"MILD",
"MEDIUM",
"HOT"
]
},
"allergen": {
"type": "array",
"maxItems": 20,
"items": {
"type": "string",
"enum": [
"ALLERGEN_UNSPECIFIED",
"DAIRY",
"EGG",
"FISH",
"PEANUT",
"SHELLFISH",
"SOY",
"TREE_NUT",
"WHEAT"
]
}
},
"dietaryRestriction": {
"type": "array",
"maxItems": 20,
"items": {
"type": "string",
"enum": [
"DIETARY_RESTRICTION_UNSPECIFIED",
"HALAL",
"KOSHER",
"ORGANIC",
"VEGAN",
"VEGETARIAN"
]
}
},
"nutritionFacts": {
"$ref": "#/components/schemas/GoogleBusinessFoodMenuNutritionFactsDto"
},
"ingredients": {
"maxItems": 1000,
"type": "array",
"items": {
"$ref": "#/components/schemas/GoogleBusinessFoodMenuIngredientDto"
}
},
"servesNumPeople": {
"type": "number",
"minimum": 1,
"maximum": 2147483647
},
"preparationMethods": {
"type": "array",
"maxItems": 25,
"items": {
"type": "string",
"enum": [
"PREPARATION_METHOD_UNSPECIFIED",
"BAKED",
"BARBECUED",
"BASTED",
"BLANCHED",
"BOILED",
"BRAISED",
"CODDLED",
"FERMENTED",
"FRIED",
"GRILLED",
"KNEADED",
"MARINATED",
"PAN_FRIED",
"PICKLED",
"PRESSURE_COOKED",
"ROASTED",
"SAUTEED",
"SEARED",
"SIMMERED",
"SMOKED",
"STEAMED",
"STEEPED",
"STIR_FRIED",
"OTHER_METHOD"
]
}
},
"portionSize": {
"$ref": "#/components/schemas/GoogleBusinessFoodMenuPortionSizeDto"
},
"mediaKeys": {
"maxItems": 200,
"description": "Provider media keys; at most 200 dish-photo associations per resource.",
"type": "array",
"items": {
"type": "string",
"maxLength": 512
}
}
},
"additionalProperties": false
}GoogleBusinessFoodMenuMoneyDto
#/components/schemas/GoogleBusinessFoodMenuMoneyDto
{
"type": "object",
"properties": {
"currencyCode": {
"type": "string",
"pattern": "^[A-Z]{3}$"
},
"units": {
"type": "string",
"pattern": "^(?:0|[1-9]\\d{0,18})$"
},
"nanos": {
"type": "number",
"minimum": 0,
"maximum": 999999999
}
},
"additionalProperties": false,
"required": [
"currencyCode",
"units"
]
}GoogleBusinessFoodMenuNutritionFactsDto
#/components/schemas/GoogleBusinessFoodMenuNutritionFactsDto
{
"type": "object",
"properties": {
"calories": {
"$ref": "#/components/schemas/GoogleBusinessFoodMenuCaloriesFactDto"
},
"totalFat": {
"$ref": "#/components/schemas/GoogleBusinessFoodMenuNutritionFactDto"
},
"cholesterol": {
"$ref": "#/components/schemas/GoogleBusinessFoodMenuNutritionFactDto"
},
"sodium": {
"$ref": "#/components/schemas/GoogleBusinessFoodMenuNutritionFactDto"
},
"totalCarbohydrate": {
"$ref": "#/components/schemas/GoogleBusinessFoodMenuNutritionFactDto"
},
"protein": {
"$ref": "#/components/schemas/GoogleBusinessFoodMenuNutritionFactDto"
}
},
"additionalProperties": false
}GoogleBusinessFoodMenuCaloriesFactDto
#/components/schemas/GoogleBusinessFoodMenuCaloriesFactDto
{
"type": "object",
"properties": {
"lowerAmount": {
"type": "number",
"minimum": 0,
"maximum": 2147483647
},
"upperAmount": {
"type": "number",
"minimum": 0,
"maximum": 2147483647
},
"unit": {
"type": "string",
"enum": [
"ENERGY_UNIT_UNSPECIFIED",
"CALORIE",
"JOULE"
]
}
},
"additionalProperties": false,
"required": [
"lowerAmount",
"unit"
]
}GoogleBusinessFoodMenuNutritionFactDto
#/components/schemas/GoogleBusinessFoodMenuNutritionFactDto
{
"type": "object",
"properties": {
"lowerAmount": {
"type": "number",
"minimum": 0
},
"upperAmount": {
"type": "number",
"minimum": 0
},
"unit": {
"type": "string",
"enum": [
"MASS_UNIT_UNSPECIFIED",
"GRAM",
"MILLIGRAM"
]
}
},
"additionalProperties": false,
"required": [
"lowerAmount",
"unit"
]
}GoogleBusinessFoodMenuIngredientDto
#/components/schemas/GoogleBusinessFoodMenuIngredientDto
{
"type": "object",
"properties": {
"labels": {
"minItems": 1,
"maxItems": 100,
"type": "array",
"items": {
"$ref": "#/components/schemas/GoogleBusinessFoodMenuLabelDto"
}
}
},
"additionalProperties": false,
"required": [
"labels"
]
}GoogleBusinessFoodMenuPortionSizeDto
#/components/schemas/GoogleBusinessFoodMenuPortionSizeDto
{
"type": "object",
"properties": {
"quantity": {
"type": "number",
"minimum": 1,
"maximum": 2147483647
},
"unit": {
"minItems": 1,
"maxItems": 100,
"type": "array",
"items": {
"$ref": "#/components/schemas/GoogleBusinessFoodMenuLabelDto"
}
}
},
"additionalProperties": false,
"required": [
"quantity",
"unit"
]
}GoogleBusinessFoodMenuItemOptionDto
#/components/schemas/GoogleBusinessFoodMenuItemOptionDto
{
"type": "object",
"properties": {
"labels": {
"minItems": 1,
"maxItems": 100,
"type": "array",
"items": {
"$ref": "#/components/schemas/GoogleBusinessFoodMenuLabelDto"
}
},
"attributes": {
"$ref": "#/components/schemas/GoogleBusinessFoodMenuItemAttributesDto"
}
},
"additionalProperties": false,
"required": [
"labels",
"attributes"
]
}ZumpoErrorDto
#/components/schemas/ZumpoErrorDto
{
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Human-readable message. UNSTABLE — do not branch on it.",
"example": "WhatsApp session window expired; use a template message."
},
"type": {
"type": "string",
"description": "Stable error category (does not change across versions).",
"enum": [
"invalid_request_error",
"authentication_error",
"permission_error",
"not_found",
"conflict",
"rate_limit_error",
"platform_error",
"platform_rejected",
"account_disconnected",
"media_error",
"api_error"
],
"example": "invalid_request_error"
},
"code": {
"type": "string",
"description": "Stable machine-readable code.",
"example": "whatsapp_window_expired"
},
"param": {
"type": "string",
"description": "Offending parameter, present only when relevant.",
"example": "body"
},
"docUrl": {
"type": "string",
"description": "https://docs.zumpo.io/errors/{code}",
"example": "https://docs.zumpo.io/errors/whatsapp_window_expired"
},
"requestId": {
"type": "string",
"description": "Support correlation id: req_ + 16 hex.",
"example": "req_7f3a9c2e1b8d4056"
},
"details": {
"type": "object",
"additionalProperties": true,
"description": "Additional structured context, present only when an error has more to say than a single `param` can carry. Values are generated by this API (identifiers, node names); provider text and raw upstream payloads are never placed here. Example: a multi-step ad create that fails part-way performs no compensating delete and returns what it already built, so the caller can attach to the surviving ad set instead of losing it.",
"example": {
"created": [
{
"kind": "campaign",
"platformId": "120210000000000001"
},
{
"kind": "adSet",
"platformId": "120210000000000002"
}
]
}
}
},
"required": [
"error",
"type",
"code",
"docUrl",
"requestId"
]
}