Zernio
Zernio
API Reference

Google Business Profile

Reviews

Get reviewsGETGet a reviewGETBatch get reviewsPOSTReply to a reviewPOSTDelete a review replyDELETE

Food Menus

Get food menusGETUpdate food menusPUT

Location Details

Get location detailsGETUpdate location detailsPUT

Services

Get servicesGETReplace servicesPUT

Verification

Get verification stateGETFetch verification optionsPOSTStart a verificationPOSTComplete a verificationPOST

Media

List mediaGETUpload photoPOSTDelete photoDELETE

Attributes

Get attributesGETUpdate attributesPUTGet attribute metadataGET

Place Actions

List action linksGETCreate action linkPOSTUpdate action linkPATCHDelete action linkDELETE
Dashboard
llms.txtOpenAPI
OverviewPlatformsAPI ReferenceResources
Google Business Profile

Get attribute metadata

Returns metadata about which Google Business Profile attributes are available for a location or business category. Use this endpoint to discover valid attribute names, value types, and allowed enum values before reading or writing via gmb-attributes.

Two mutually exclusive query modes:

Location mode: pass locationId (or rely on the account's stored selectedLocationId). Google returns attributes valid for that specific location.

Category mode: pass categoryName (must start with categories/) and regionCode. Google returns attributes valid for that category across the given region. languageCode is optional in category mode.

Both modes support pageSize and pageToken for pagination.


GET
/v1/accounts/{accountId}/gmb-attribute-metadata

Authorization

bearerAuth
AuthorizationBearer <token>

API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.

In: header

Path Parameters

accountId*string

Query Parameters

locationId?string

Google Business Profile location ID (e.g. "6257659026299438786"). If omitted, uses the account's stored selectedLocationId. Mutually exclusive with categoryName.

categoryName?string

Category resource name, must start with "categories/" (e.g. "categories/gcid:plumber"). Required together with regionCode. Mutually exclusive with locationId.

regionCode?string

BCP-47 region code (e.g. "US", "ES"). Required when categoryName is provided.

languageCode?string

BCP-47 language code for display names (e.g. "en", "es"). Optional when categoryName is provided. Omitted from the Google call when not supplied.

pageSize?integer

Maximum number of attribute metadata items to return. Google defaults to 200.

Range1 <= value <= 200
pageToken?string

Pagination token from a previous response's nextPageToken field.

Response Body

application/json

application/json

application/json

application/json

{  "success": true,  "accountId": "64f1a2b3c4d5e6f7a8b9c0d1",  "locationId": "6257659026299438786",  "attributeMetadata": [    {      "parent": "attributes/has_delivery",      "valueType": "BOOL",      "displayName": "Delivery",      "groupDisplayName": "Service options"    },    {      "parent": "attributes/pay_credit_card_types_accepted",      "valueType": "REPEATED_ENUM",      "displayName": "Credit cards accepted",      "valueMetadata": [        {          "value": "visa",          "displayName": "Visa"        },        {          "value": "mastercard",          "displayName": "Mastercard"        }      ]    }  ]}
Was this page helpful?

Update attributes

Updates location attributes (amenities, services, etc.). The attributeMask specifies which attributes to update (comma-separated).

List action links

Lists place action links for a Google Business Profile location. Place actions are the booking, ordering, and reservation buttons that appear on your listing.