zumpo/docs
Dashboard
Skip to content
accounts / API reference
GETgetGoogleBusinessLocationDetails

Get Google Business location details

Returns the selected location with Zernio-compatible readMask filtering. A supplied locationId targets another location accessible to the same Google account.

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.

  1. bearerhttp

    scheme
    bearer
    bearerFormat
    zumpo-api-key
Read the authentication guide

Parameters

accountIdpathrequired
accountIdstringrequired
pattern
^[0-9a-f]{24}$
Original schema
{
  "type": "string",
  "pattern": "^[0-9a-f]{24}$"
}
readMaskqueryoptional
readMaskstring

Comma-separated Google Location fields. title and the derived location summary are always returned.

Original schema
{
  "type": "string",
  "description": "Comma-separated Google Location fields. title and the derived location summary are always returned."
}
locationIdqueryoptional

Optional 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
application/json
Response 200object
#/components/schemas/GoogleBusinessLocationDetailsResponseDto
additionalProperties
false
required
[ "success", "accountId", "locationId", "location", "title" ]
successbooleanrequired
enum
[ true ]
accountIdstringrequired
pattern
^[0-9a-f]{24}$
locationIdstringrequired
pattern
^[1-9]\d{0,29}$
locationobjectrequired
#/components/schemas/GoogleBusinessLocationSummaryDto
additionalProperties
false
required
[ "name", "placeId", "reviewUrl", "mapsUri", "isVerified" ]
namestringrequired
nullable
true
maxLength
256
placeIdstringrequired
nullable
true
maxLength
256
reviewUrlstringrequired
format
uri
nullable
true
mapsUristringrequired
format
uri
nullable
true
isVerifiedbooleanrequired
titlestringrequired
minLength
1
maxLength
256
namestring
pattern
^locations/[1-9]\d{0,29}$
phoneNumbersobject
#/components/schemas/GoogleBusinessLocationPhoneNumbersDto
additionalProperties
false
required
[ "primaryPhone" ]
primaryPhonestringrequired
minLength
1
maxLength
64
additionalPhonesarray
maxItems
2
Array itemstring
maxLength
64
categoriesobject
#/components/schemas/GoogleBusinessLocationCategoriesDto
additionalProperties
false
required
[ "primaryCategory" ]
primaryCategoryobjectrequired
#/components/schemas/GoogleBusinessLocationCategoryDto
additionalProperties
false
required
[ "name" ]
namestringrequired
pattern
^categories/[A-Za-z0-9:_-]{1,256}$
displayNamestring
minLength
1
maxLength
256
serviceTypesarray
maxItems
500
Array itemobject
#/components/schemas/GoogleBusinessLocationServiceTypeDto
additionalProperties
false
required
[ "serviceTypeId", "displayName" ]
serviceTypeIdstringrequired
minLength
1
maxLength
256
displayNamestringrequired
minLength
1
maxLength
256
moreHoursTypesarray
maxItems
100
Array itemobject
#/components/schemas/GoogleBusinessLocationMoreHoursTypeDto
additionalProperties
false
required
[ "hoursTypeId", "displayName", "localizedDisplayName" ]
hoursTypeIdstringrequired
minLength
1
maxLength
256
displayNamestringrequired
minLength
1
maxLength
256
localizedDisplayNamestringrequired
minLength
1
maxLength
256
additionalCategoriesarray
maxItems
10
Array itemobject
#/components/schemas/GoogleBusinessLocationCategoryDto
additionalProperties
false
required
[ "name" ]
namestringrequired
pattern
^categories/[A-Za-z0-9:_-]{1,256}$
displayNamestring
minLength
1
maxLength
256
serviceTypesarray
maxItems
500
Array itemobject
#/components/schemas/GoogleBusinessLocationServiceTypeDto
additionalProperties
false
required
[ "serviceTypeId", "displayName" ]
serviceTypeIdstringrequired
minLength
1
maxLength
256
displayNamestringrequired
minLength
1
maxLength
256
moreHoursTypesarray
maxItems
100
Array itemobject
#/components/schemas/GoogleBusinessLocationMoreHoursTypeDto
additionalProperties
false
required
[ "hoursTypeId", "displayName", "localizedDisplayName" ]
hoursTypeIdstringrequired
minLength
1
maxLength
256
displayNamestringrequired
minLength
1
maxLength
256
localizedDisplayNamestringrequired
minLength
1
maxLength
256
storefrontAddressobject
#/components/schemas/GoogleBusinessLocationPostalAddressDto
additionalProperties
false
required
[ "regionCode" ]
revisionnumber
enum
[ 0 ]
regionCodestringrequired
pattern
^[A-Z]{2}$
languageCodestring
pattern
^[A-Za-z0-9-]{2,35}$
postalCodestring
maxLength
256
sortingCodestring
maxLength
256
administrativeAreastring
maxLength
256
localitystring
maxLength
256
sublocalitystring
maxLength
256
addressLinesarray
maxItems
5
Array itemstring
maxLength
256
recipientsarray
maxItems
10
Array itemstring
maxLength
256
organizationstring
maxLength
256
websiteUristring
format
uri
regularHoursobject
#/components/schemas/GoogleBusinessLocationHoursDto
additionalProperties
false
required
[ "periods" ]
periodsarrayrequired
maxItems
168
Array itemobject
#/components/schemas/GoogleBusinessLocationPeriodDto
additionalProperties
false
required
[ "openDay", "openTime", "closeDay", "closeTime" ]
openDaystringrequired
enum
[ "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY" ]
openTimestringrequired

Local wall-clock time in HH:MM form; 24:00 is allowed only at day end.

pattern
^(?:[01]\d|2[0-4]):[0-5]\d$
closeDaystringrequired
enum
[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY" ]
closeTimestringrequired
pattern
^(?:[01]\d|2[0-4]):[0-5]\d$
specialHoursobject
#/components/schemas/GoogleBusinessLocationSpecialHoursDto
additionalProperties
false
required
[ "specialHourPeriods" ]
specialHourPeriodsarrayrequired
maxItems
366
Array itemobject
#/components/schemas/GoogleBusinessLocationSpecialHourPeriodDto
additionalProperties
false
required
[ "startDate" ]
startDateobjectrequired
#/components/schemas/GoogleBusinessLocationDateDto
additionalProperties
false
yearnumber
minimum
0
maximum
9999
monthnumber
minimum
0
maximum
12
daynumber
minimum
0
maximum
31
endDateobject
#/components/schemas/GoogleBusinessLocationDateDto
additionalProperties
false
yearnumber
minimum
0
maximum
9999
monthnumber
minimum
0
maximum
12
daynumber
minimum
0
maximum
31
openTimestring
pattern
^(?:[01]\d|2[0-4]):[0-5]\d$
closeTimestring
pattern
^(?:[01]\d|2[0-4]):[0-5]\d$
closedboolean
serviceAreaobject
#/components/schemas/GoogleBusinessLocationServiceAreaDto
additionalProperties
false
required
[ "businessType" ]
businessTypestringrequired
enum
[ "BUSINESS_TYPE_UNSPECIFIED", "CUSTOMER_LOCATION_ONLY", "CUSTOMER_AND_BUSINESS_LOCATION" ]
placesobject
#/components/schemas/GoogleBusinessLocationPlacesDto
additionalProperties
false
required
[ "placeInfos" ]
placeInfosarrayrequired
maxItems
20
Array itemobject
#/components/schemas/GoogleBusinessLocationPlaceInfoDto
additionalProperties
false
required
[ "placeName", "placeId" ]
placeNamestringrequired
minLength
1
maxLength
256
placeIdstringrequired
minLength
1
maxLength
256
regionCodestring
pattern
^[A-Z]{2}$
serviceItemsarray
maxItems
1000
Array itemobject
#/components/schemas/GoogleBusinessLocationServiceItemDto
additionalProperties
false
priceobject
#/components/schemas/GoogleBusinessLocationMoneyDto
additionalProperties
false
currencyCodestring
minLength
1
pattern
^[A-Z]{3}$
unitsstring
minLength
1
pattern
^-?(?:0|[1-9]\d{0,18})$
nanosnumber
minimum
-999999999
maximum
999999999
structuredServiceItemallOf

Exactly one of structuredServiceItem or freeFormServiceItem is required.

allOf / 1object
#/components/schemas/GoogleBusinessLocationStructuredServiceItemDto
additionalProperties
false
required
[ "serviceTypeId" ]
serviceTypeIdstringrequired
minLength
1
maxLength
256
descriptionstring
minLength
1
maxLength
300
freeFormServiceItemobject
#/components/schemas/GoogleBusinessLocationFreeFormServiceItemDto
additionalProperties
false
required
[ "category", "label" ]
categorystringrequired
minLength
1
pattern
^categories/[A-Za-z0-9:_-]{1,256}$
labelobjectrequired
#/components/schemas/GoogleBusinessLocationServiceLabelDto
additionalProperties
false
required
[ "displayName" ]
displayNamestringrequired
minLength
1
maxLength
140
descriptionstring
minLength
1
maxLength
250
languageCodestring
pattern
^[A-Za-z0-9-]{2,35}$
profileobject
#/components/schemas/GoogleBusinessLocationProfileDto
additionalProperties
false
required
[ "description" ]
descriptionstringrequired
minLength
1
maxLength
750
openInfoobject
#/components/schemas/GoogleBusinessLocationOpenInfoDto
additionalProperties
false
required
[ "status" ]
statusstringrequired
enum
[ "OPEN_FOR_BUSINESS_UNSPECIFIED", "OPEN", "CLOSED_PERMANENTLY", "CLOSED_TEMPORARILY" ]
canReopenboolean
openingDateobject
#/components/schemas/GoogleBusinessLocationDateDto
additionalProperties
false
yearnumber
minimum
0
maximum
9999
monthnumber
minimum
0
maximum
12
daynumber
minimum
0
maximum
31
metadataobject
#/components/schemas/GoogleBusinessLocationMetadataDto
additionalProperties
false
hasGoogleUpdatedboolean
hasPendingEditsboolean
canDeleteboolean
canOperateLocalPostboolean
canModifyServiceListboolean
canHaveFoodMenusboolean
canOperateHealthDataboolean
canOperateLodgingDataboolean
placeIdstring
maxLength
256
duplicateLocationstring
pattern
^locations/[1-9]\d{0,29}$
mapsUristring
format
uri
newReviewUristring
format
uri
canHaveBusinessCallsboolean
hasVoiceOfMerchantboolean
moreHoursarray
maxItems
100
Array itemobject
#/components/schemas/GoogleBusinessLocationMoreHoursDto
additionalProperties
false
required
[ "hoursTypeId", "periods" ]
hoursTypeIdstringrequired
minLength
1
maxLength
256
periodsarrayrequired
maxItems
168
Array itemobject
#/components/schemas/GoogleBusinessLocationPeriodDto
additionalProperties
false
required
[ "openDay", "openTime", "closeDay", "closeTime" ]
openDaystringrequired
enum
[ "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY" ]
openTimestringrequired

Local wall-clock time in HH:MM form; 24:00 is allowed only at day end.

pattern
^(?:[01]\d|2[0-4]):[0-5]\d$
closeDaystringrequired
enum
[ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY" ]
closeTimestringrequired
pattern
^(?:[01]\d|2[0-4]):[0-5]\d$
Original schema
{
  "$ref": "#/components/schemas/GoogleBusinessLocationDetailsResponseDto"
}
400Response schema
application/json
Response 400object
#/components/schemas/ZumpoErrorDto
required
[ "error", "type", "code", "docUrl", "requestId" ]
errorstringrequired

Human-readable message. UNSTABLE — do not branch on it.

example
WhatsApp session window expired; use a template message.
typestringrequired

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
codestringrequired

Stable machine-readable code.

example
whatsapp_window_expired
paramstring

Offending parameter, present only when relevant.

example
body
docUrlstringrequired

https://docs.zumpo.io/errors/{code}

example
https://docs.zumpo.io/errors/whatsapp_window_expired
requestIdstringrequired

Support correlation id: req_ + 16 hex.

example
req_7f3a9c2e1b8d4056
detailsobject

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.

additionalProperties
true
example
{ "created": [ { "kind": "campaign", "platformId": "120210000000000001" }, { "kind": "adSet", "platformId": "120210000000000002" } ] }
Original schema
{
  "$ref": "#/components/schemas/ZumpoErrorDto"
}
401Authentication failed

Authentication failed

application/json
Response 401object
#/components/schemas/ZumpoErrorDto
required
[ "error", "type", "code", "docUrl", "requestId" ]
errorstringrequired

Human-readable message. UNSTABLE — do not branch on it.

example
WhatsApp session window expired; use a template message.
typestringrequired

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
codestringrequired

Stable machine-readable code.

example
whatsapp_window_expired
paramstring

Offending parameter, present only when relevant.

example
body
docUrlstringrequired

https://docs.zumpo.io/errors/{code}

example
https://docs.zumpo.io/errors/whatsapp_window_expired
requestIdstringrequired

Support correlation id: req_ + 16 hex.

example
req_7f3a9c2e1b8d4056
detailsobject

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.

additionalProperties
true
example
{ "created": [ { "kind": "campaign", "platformId": "120210000000000001" }, { "kind": "adSet", "platformId": "120210000000000002" } ] }
Original schema
{
  "$ref": "#/components/schemas/ZumpoErrorDto"
}
403Response schema
application/json
Response 403object
#/components/schemas/ZumpoErrorDto
required
[ "error", "type", "code", "docUrl", "requestId" ]
errorstringrequired

Human-readable message. UNSTABLE — do not branch on it.

example
WhatsApp session window expired; use a template message.
typestringrequired

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
codestringrequired

Stable machine-readable code.

example
whatsapp_window_expired
paramstring

Offending parameter, present only when relevant.

example
body
docUrlstringrequired

https://docs.zumpo.io/errors/{code}

example
https://docs.zumpo.io/errors/whatsapp_window_expired
requestIdstringrequired

Support correlation id: req_ + 16 hex.

example
req_7f3a9c2e1b8d4056
detailsobject

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.

additionalProperties
true
example
{ "created": [ { "kind": "campaign", "platformId": "120210000000000001" }, { "kind": "adSet", "platformId": "120210000000000002" } ] }
Original schema
{
  "$ref": "#/components/schemas/ZumpoErrorDto"
}
404Response schema
application/json
Response 404object
#/components/schemas/ZumpoErrorDto
required
[ "error", "type", "code", "docUrl", "requestId" ]
errorstringrequired

Human-readable message. UNSTABLE — do not branch on it.

example
WhatsApp session window expired; use a template message.
typestringrequired

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
codestringrequired

Stable machine-readable code.

example
whatsapp_window_expired
paramstring

Offending parameter, present only when relevant.

example
body
docUrlstringrequired

https://docs.zumpo.io/errors/{code}

example
https://docs.zumpo.io/errors/whatsapp_window_expired
requestIdstringrequired

Support correlation id: req_ + 16 hex.

example
req_7f3a9c2e1b8d4056
detailsobject

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.

additionalProperties
true
example
{ "created": [ { "kind": "campaign", "platformId": "120210000000000001" }, { "kind": "adSet", "platformId": "120210000000000002" } ] }
Original schema
{
  "$ref": "#/components/schemas/ZumpoErrorDto"
}
409Response schema
application/json
Response 409object
#/components/schemas/ZumpoErrorDto
required
[ "error", "type", "code", "docUrl", "requestId" ]
errorstringrequired

Human-readable message. UNSTABLE — do not branch on it.

example
WhatsApp session window expired; use a template message.
typestringrequired

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
codestringrequired

Stable machine-readable code.

example
whatsapp_window_expired
paramstring

Offending parameter, present only when relevant.

example
body
docUrlstringrequired

https://docs.zumpo.io/errors/{code}

example
https://docs.zumpo.io/errors/whatsapp_window_expired
requestIdstringrequired

Support correlation id: req_ + 16 hex.

example
req_7f3a9c2e1b8d4056
detailsobject

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.

additionalProperties
true
example
{ "created": [ { "kind": "campaign", "platformId": "120210000000000001" }, { "kind": "adSet", "platformId": "120210000000000002" } ] }
Original schema
{
  "$ref": "#/components/schemas/ZumpoErrorDto"
}
429Response schema
application/json
Response 429object
#/components/schemas/ZumpoErrorDto
required
[ "error", "type", "code", "docUrl", "requestId" ]
errorstringrequired

Human-readable message. UNSTABLE — do not branch on it.

example
WhatsApp session window expired; use a template message.
typestringrequired

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
codestringrequired

Stable machine-readable code.

example
whatsapp_window_expired
paramstring

Offending parameter, present only when relevant.

example
body
docUrlstringrequired

https://docs.zumpo.io/errors/{code}

example
https://docs.zumpo.io/errors/whatsapp_window_expired
requestIdstringrequired

Support correlation id: req_ + 16 hex.

example
req_7f3a9c2e1b8d4056
detailsobject

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.

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

application/json
Response 500object
#/components/schemas/ZumpoErrorDto
required
[ "error", "type", "code", "docUrl", "requestId" ]
errorstringrequired

Human-readable message. UNSTABLE — do not branch on it.

example
WhatsApp session window expired; use a template message.
typestringrequired

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
codestringrequired

Stable machine-readable code.

example
whatsapp_window_expired
paramstring

Offending parameter, present only when relevant.

example
body
docUrlstringrequired

https://docs.zumpo.io/errors/{code}

example
https://docs.zumpo.io/errors/whatsapp_window_expired
requestIdstringrequired

Support correlation id: req_ + 16 hex.

example
req_7f3a9c2e1b8d4056
detailsobject

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.

additionalProperties
true
example
{ "created": [ { "kind": "campaign", "platformId": "120210000000000001" }, { "kind": "adSet", "platformId": "120210000000000002" } ] }
Original schema
{
  "$ref": "#/components/schemas/ZumpoErrorDto"
}
502Response schema
application/json
Response 502object
#/components/schemas/ZumpoErrorDto
required
[ "error", "type", "code", "docUrl", "requestId" ]
errorstringrequired

Human-readable message. UNSTABLE — do not branch on it.

example
WhatsApp session window expired; use a template message.
typestringrequired

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
codestringrequired

Stable machine-readable code.

example
whatsapp_window_expired
paramstring

Offending parameter, present only when relevant.

example
body
docUrlstringrequired

https://docs.zumpo.io/errors/{code}

example
https://docs.zumpo.io/errors/whatsapp_window_expired
requestIdstringrequired

Support correlation id: req_ + 16 hex.

example
req_7f3a9c2e1b8d4056
detailsobject

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.

additionalProperties
true
example
{ "created": [ { "kind": "campaign", "platformId": "120210000000000001" }, { "kind": "adSet", "platformId": "120210000000000002" } ] }
Original schema
{
  "$ref": "#/components/schemas/ZumpoErrorDto"
}
503Response schema
application/json
Response 503object
#/components/schemas/ZumpoErrorDto
required
[ "error", "type", "code", "docUrl", "requestId" ]
errorstringrequired

Human-readable message. UNSTABLE — do not branch on it.

example
WhatsApp session window expired; use a template message.
typestringrequired

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
codestringrequired

Stable machine-readable code.

example
whatsapp_window_expired
paramstring

Offending parameter, present only when relevant.

example
body
docUrlstringrequired

https://docs.zumpo.io/errors/{code}

example
https://docs.zumpo.io/errors/whatsapp_window_expired
requestIdstringrequired

Support correlation id: req_ + 16 hex.

example
req_7f3a9c2e1b8d4056
detailsobject

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.

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.

GoogleBusinessLocationDetailsResponseDto

#/components/schemas/GoogleBusinessLocationDetailsResponseDto

{
  "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}$"
    },
    "location": {
      "$ref": "#/components/schemas/GoogleBusinessLocationSummaryDto"
    },
    "title": {
      "type": "string",
      "minLength": 1,
      "maxLength": 256
    },
    "name": {
      "type": "string",
      "pattern": "^locations/[1-9]\\d{0,29}$"
    },
    "phoneNumbers": {
      "$ref": "#/components/schemas/GoogleBusinessLocationPhoneNumbersDto"
    },
    "categories": {
      "$ref": "#/components/schemas/GoogleBusinessLocationCategoriesDto"
    },
    "storefrontAddress": {
      "$ref": "#/components/schemas/GoogleBusinessLocationPostalAddressDto"
    },
    "websiteUri": {
      "type": "string",
      "format": "uri"
    },
    "regularHours": {
      "$ref": "#/components/schemas/GoogleBusinessLocationHoursDto"
    },
    "specialHours": {
      "$ref": "#/components/schemas/GoogleBusinessLocationSpecialHoursDto"
    },
    "serviceArea": {
      "$ref": "#/components/schemas/GoogleBusinessLocationServiceAreaDto"
    },
    "serviceItems": {
      "maxItems": 1000,
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/GoogleBusinessLocationServiceItemDto"
      }
    },
    "profile": {
      "$ref": "#/components/schemas/GoogleBusinessLocationProfileDto"
    },
    "openInfo": {
      "$ref": "#/components/schemas/GoogleBusinessLocationOpenInfoDto"
    },
    "metadata": {
      "$ref": "#/components/schemas/GoogleBusinessLocationMetadataDto"
    },
    "moreHours": {
      "maxItems": 100,
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/GoogleBusinessLocationMoreHoursDto"
      }
    }
  },
  "additionalProperties": false,
  "required": [
    "success",
    "accountId",
    "locationId",
    "location",
    "title"
  ]
}
GoogleBusinessLocationSummaryDto

#/components/schemas/GoogleBusinessLocationSummaryDto

{
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "nullable": true,
      "maxLength": 256
    },
    "placeId": {
      "type": "string",
      "nullable": true,
      "maxLength": 256
    },
    "reviewUrl": {
      "type": "string",
      "format": "uri",
      "nullable": true
    },
    "mapsUri": {
      "type": "string",
      "format": "uri",
      "nullable": true
    },
    "isVerified": {
      "type": "boolean"
    }
  },
  "additionalProperties": false,
  "required": [
    "name",
    "placeId",
    "reviewUrl",
    "mapsUri",
    "isVerified"
  ]
}
GoogleBusinessLocationPhoneNumbersDto

#/components/schemas/GoogleBusinessLocationPhoneNumbersDto

{
  "type": "object",
  "properties": {
    "primaryPhone": {
      "type": "string",
      "minLength": 1,
      "maxLength": 64
    },
    "additionalPhones": {
      "maxItems": 2,
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 64
      }
    }
  },
  "additionalProperties": false,
  "required": [
    "primaryPhone"
  ]
}
GoogleBusinessLocationCategoriesDto

#/components/schemas/GoogleBusinessLocationCategoriesDto

{
  "type": "object",
  "properties": {
    "primaryCategory": {
      "$ref": "#/components/schemas/GoogleBusinessLocationCategoryDto"
    },
    "additionalCategories": {
      "maxItems": 10,
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/GoogleBusinessLocationCategoryDto"
      }
    }
  },
  "additionalProperties": false,
  "required": [
    "primaryCategory"
  ]
}
GoogleBusinessLocationCategoryDto

#/components/schemas/GoogleBusinessLocationCategoryDto

{
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "pattern": "^categories/[A-Za-z0-9:_-]{1,256}$"
    },
    "displayName": {
      "type": "string",
      "minLength": 1,
      "maxLength": 256
    },
    "serviceTypes": {
      "maxItems": 500,
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/GoogleBusinessLocationServiceTypeDto"
      }
    },
    "moreHoursTypes": {
      "maxItems": 100,
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/GoogleBusinessLocationMoreHoursTypeDto"
      }
    }
  },
  "additionalProperties": false,
  "required": [
    "name"
  ]
}
GoogleBusinessLocationServiceTypeDto

#/components/schemas/GoogleBusinessLocationServiceTypeDto

{
  "type": "object",
  "properties": {
    "serviceTypeId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 256
    },
    "displayName": {
      "type": "string",
      "minLength": 1,
      "maxLength": 256
    }
  },
  "additionalProperties": false,
  "required": [
    "serviceTypeId",
    "displayName"
  ]
}
GoogleBusinessLocationMoreHoursTypeDto

#/components/schemas/GoogleBusinessLocationMoreHoursTypeDto

{
  "type": "object",
  "properties": {
    "hoursTypeId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 256
    },
    "displayName": {
      "type": "string",
      "minLength": 1,
      "maxLength": 256
    },
    "localizedDisplayName": {
      "type": "string",
      "minLength": 1,
      "maxLength": 256
    }
  },
  "additionalProperties": false,
  "required": [
    "hoursTypeId",
    "displayName",
    "localizedDisplayName"
  ]
}
GoogleBusinessLocationPostalAddressDto

#/components/schemas/GoogleBusinessLocationPostalAddressDto

{
  "type": "object",
  "properties": {
    "revision": {
      "type": "number",
      "enum": [
        0
      ]
    },
    "regionCode": {
      "type": "string",
      "pattern": "^[A-Z]{2}$"
    },
    "languageCode": {
      "type": "string",
      "pattern": "^[A-Za-z0-9-]{2,35}$"
    },
    "postalCode": {
      "type": "string",
      "maxLength": 256
    },
    "sortingCode": {
      "type": "string",
      "maxLength": 256
    },
    "administrativeArea": {
      "type": "string",
      "maxLength": 256
    },
    "locality": {
      "type": "string",
      "maxLength": 256
    },
    "sublocality": {
      "type": "string",
      "maxLength": 256
    },
    "addressLines": {
      "maxItems": 5,
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 256
      }
    },
    "recipients": {
      "maxItems": 10,
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 256
      }
    },
    "organization": {
      "type": "string",
      "maxLength": 256
    }
  },
  "additionalProperties": false,
  "required": [
    "regionCode"
  ]
}
GoogleBusinessLocationHoursDto

#/components/schemas/GoogleBusinessLocationHoursDto

{
  "type": "object",
  "properties": {
    "periods": {
      "maxItems": 168,
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/GoogleBusinessLocationPeriodDto"
      }
    }
  },
  "additionalProperties": false,
  "required": [
    "periods"
  ]
}
GoogleBusinessLocationPeriodDto

#/components/schemas/GoogleBusinessLocationPeriodDto

{
  "type": "object",
  "properties": {
    "openDay": {
      "type": "string",
      "enum": [
        "MONDAY",
        "TUESDAY",
        "WEDNESDAY",
        "THURSDAY",
        "FRIDAY",
        "SATURDAY",
        "SUNDAY"
      ]
    },
    "openTime": {
      "type": "string",
      "pattern": "^(?:[01]\\d|2[0-4]):[0-5]\\d$",
      "description": "Local wall-clock time in HH:MM form; 24:00 is allowed only at day end."
    },
    "closeDay": {
      "type": "string",
      "enum": [
        "DAY_OF_WEEK_UNSPECIFIED",
        "MONDAY",
        "TUESDAY",
        "WEDNESDAY",
        "THURSDAY",
        "FRIDAY",
        "SATURDAY",
        "SUNDAY"
      ]
    },
    "closeTime": {
      "type": "string",
      "pattern": "^(?:[01]\\d|2[0-4]):[0-5]\\d$"
    }
  },
  "additionalProperties": false,
  "required": [
    "openDay",
    "openTime",
    "closeDay",
    "closeTime"
  ]
}
GoogleBusinessLocationSpecialHoursDto

#/components/schemas/GoogleBusinessLocationSpecialHoursDto

{
  "type": "object",
  "properties": {
    "specialHourPeriods": {
      "maxItems": 366,
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/GoogleBusinessLocationSpecialHourPeriodDto"
      }
    }
  },
  "additionalProperties": false,
  "required": [
    "specialHourPeriods"
  ]
}
GoogleBusinessLocationSpecialHourPeriodDto

#/components/schemas/GoogleBusinessLocationSpecialHourPeriodDto

{
  "type": "object",
  "properties": {
    "startDate": {
      "$ref": "#/components/schemas/GoogleBusinessLocationDateDto"
    },
    "endDate": {
      "$ref": "#/components/schemas/GoogleBusinessLocationDateDto"
    },
    "openTime": {
      "type": "string",
      "pattern": "^(?:[01]\\d|2[0-4]):[0-5]\\d$"
    },
    "closeTime": {
      "type": "string",
      "pattern": "^(?:[01]\\d|2[0-4]):[0-5]\\d$"
    },
    "closed": {
      "type": "boolean"
    }
  },
  "additionalProperties": false,
  "required": [
    "startDate"
  ]
}
GoogleBusinessLocationDateDto

#/components/schemas/GoogleBusinessLocationDateDto

{
  "type": "object",
  "properties": {
    "year": {
      "type": "number",
      "minimum": 0,
      "maximum": 9999
    },
    "month": {
      "type": "number",
      "minimum": 0,
      "maximum": 12
    },
    "day": {
      "type": "number",
      "minimum": 0,
      "maximum": 31
    }
  },
  "additionalProperties": false
}
GoogleBusinessLocationServiceAreaDto

#/components/schemas/GoogleBusinessLocationServiceAreaDto

{
  "type": "object",
  "properties": {
    "businessType": {
      "type": "string",
      "enum": [
        "BUSINESS_TYPE_UNSPECIFIED",
        "CUSTOMER_LOCATION_ONLY",
        "CUSTOMER_AND_BUSINESS_LOCATION"
      ]
    },
    "places": {
      "$ref": "#/components/schemas/GoogleBusinessLocationPlacesDto"
    },
    "regionCode": {
      "type": "string",
      "pattern": "^[A-Z]{2}$"
    }
  },
  "additionalProperties": false,
  "required": [
    "businessType"
  ]
}
GoogleBusinessLocationPlacesDto

#/components/schemas/GoogleBusinessLocationPlacesDto

{
  "type": "object",
  "properties": {
    "placeInfos": {
      "maxItems": 20,
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/GoogleBusinessLocationPlaceInfoDto"
      }
    }
  },
  "additionalProperties": false,
  "required": [
    "placeInfos"
  ]
}
GoogleBusinessLocationPlaceInfoDto

#/components/schemas/GoogleBusinessLocationPlaceInfoDto

{
  "type": "object",
  "properties": {
    "placeName": {
      "type": "string",
      "minLength": 1,
      "maxLength": 256
    },
    "placeId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 256
    }
  },
  "additionalProperties": false,
  "required": [
    "placeName",
    "placeId"
  ]
}
GoogleBusinessLocationServiceItemDto

#/components/schemas/GoogleBusinessLocationServiceItemDto

{
  "type": "object",
  "properties": {
    "price": {
      "$ref": "#/components/schemas/GoogleBusinessLocationMoneyDto"
    },
    "structuredServiceItem": {
      "description": "Exactly one of structuredServiceItem or freeFormServiceItem is required.",
      "allOf": [
        {
          "$ref": "#/components/schemas/GoogleBusinessLocationStructuredServiceItemDto"
        }
      ]
    },
    "freeFormServiceItem": {
      "$ref": "#/components/schemas/GoogleBusinessLocationFreeFormServiceItemDto"
    }
  },
  "additionalProperties": false
}
GoogleBusinessLocationMoneyDto

#/components/schemas/GoogleBusinessLocationMoneyDto

{
  "type": "object",
  "properties": {
    "currencyCode": {
      "type": "string",
      "minLength": 1,
      "pattern": "^[A-Z]{3}$"
    },
    "units": {
      "type": "string",
      "minLength": 1,
      "pattern": "^-?(?:0|[1-9]\\d{0,18})$"
    },
    "nanos": {
      "type": "number",
      "minimum": -999999999,
      "maximum": 999999999
    }
  },
  "additionalProperties": false
}
GoogleBusinessLocationStructuredServiceItemDto

#/components/schemas/GoogleBusinessLocationStructuredServiceItemDto

{
  "type": "object",
  "properties": {
    "serviceTypeId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 256
    },
    "description": {
      "type": "string",
      "minLength": 1,
      "maxLength": 300
    }
  },
  "additionalProperties": false,
  "required": [
    "serviceTypeId"
  ]
}
GoogleBusinessLocationFreeFormServiceItemDto

#/components/schemas/GoogleBusinessLocationFreeFormServiceItemDto

{
  "type": "object",
  "properties": {
    "category": {
      "type": "string",
      "minLength": 1,
      "pattern": "^categories/[A-Za-z0-9:_-]{1,256}$"
    },
    "label": {
      "$ref": "#/components/schemas/GoogleBusinessLocationServiceLabelDto"
    }
  },
  "additionalProperties": false,
  "required": [
    "category",
    "label"
  ]
}
GoogleBusinessLocationServiceLabelDto

#/components/schemas/GoogleBusinessLocationServiceLabelDto

{
  "type": "object",
  "properties": {
    "displayName": {
      "type": "string",
      "minLength": 1,
      "maxLength": 140
    },
    "description": {
      "type": "string",
      "minLength": 1,
      "maxLength": 250
    },
    "languageCode": {
      "type": "string",
      "pattern": "^[A-Za-z0-9-]{2,35}$"
    }
  },
  "additionalProperties": false,
  "required": [
    "displayName"
  ]
}
GoogleBusinessLocationProfileDto

#/components/schemas/GoogleBusinessLocationProfileDto

{
  "type": "object",
  "properties": {
    "description": {
      "type": "string",
      "minLength": 1,
      "maxLength": 750
    }
  },
  "additionalProperties": false,
  "required": [
    "description"
  ]
}
GoogleBusinessLocationOpenInfoDto

#/components/schemas/GoogleBusinessLocationOpenInfoDto

{
  "type": "object",
  "properties": {
    "status": {
      "type": "string",
      "enum": [
        "OPEN_FOR_BUSINESS_UNSPECIFIED",
        "OPEN",
        "CLOSED_PERMANENTLY",
        "CLOSED_TEMPORARILY"
      ]
    },
    "canReopen": {
      "type": "boolean"
    },
    "openingDate": {
      "$ref": "#/components/schemas/GoogleBusinessLocationDateDto"
    }
  },
  "additionalProperties": false,
  "required": [
    "status"
  ]
}
GoogleBusinessLocationMetadataDto

#/components/schemas/GoogleBusinessLocationMetadataDto

{
  "type": "object",
  "properties": {
    "hasGoogleUpdated": {
      "type": "boolean"
    },
    "hasPendingEdits": {
      "type": "boolean"
    },
    "canDelete": {
      "type": "boolean"
    },
    "canOperateLocalPost": {
      "type": "boolean"
    },
    "canModifyServiceList": {
      "type": "boolean"
    },
    "canHaveFoodMenus": {
      "type": "boolean"
    },
    "canOperateHealthData": {
      "type": "boolean"
    },
    "canOperateLodgingData": {
      "type": "boolean"
    },
    "placeId": {
      "type": "string",
      "maxLength": 256
    },
    "duplicateLocation": {
      "type": "string",
      "pattern": "^locations/[1-9]\\d{0,29}$"
    },
    "mapsUri": {
      "type": "string",
      "format": "uri"
    },
    "newReviewUri": {
      "type": "string",
      "format": "uri"
    },
    "canHaveBusinessCalls": {
      "type": "boolean"
    },
    "hasVoiceOfMerchant": {
      "type": "boolean"
    }
  },
  "additionalProperties": false
}
GoogleBusinessLocationMoreHoursDto

#/components/schemas/GoogleBusinessLocationMoreHoursDto

{
  "type": "object",
  "properties": {
    "hoursTypeId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 256
    },
    "periods": {
      "maxItems": 168,
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/GoogleBusinessLocationPeriodDto"
      }
    }
  },
  "additionalProperties": false,
  "required": [
    "hoursTypeId",
    "periods"
  ]
}
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"
  ]
}