- List available to discover allowed definitions for the selected location.
- Get current attributes to inspect current value shapes.
- Patch only supported names and values.
/api/v1/misc/google-business
Get current attributes
Endpoint:GET /api/v1/misc/google-business/location/attributes
Response includes
attributes: an array of objects. Each item has a name (for example attributes/pay_credit_card) and a value field whose shape depends on the attribute type.
Value types (response and request)
Always confirm the expected shape for a given
name via list available or get before you build your UI. Do not assume that every boolean/enum/url-style field is valid for every category.
List available attribute definitions
Endpoint:GET /api/v1/misc/google-business/location/attributes/available
Use this to build dropdowns or validation in your product. Google returns definitions for attributes applicable to the location.
Response includes
attributes (definition objects) and optional nextPageToken.
Google-side selection context
Google’s attribute catalog is context-sensitive. Availability depends on location/category/region, and can change over time.- In Google APIs, attribute metadata is selected using location/category and localization context.
- In this API,
teamIdselects the connected location context, while optionallanguageCodeandregionCodehelp localize/filter definitions. - Treat this endpoint as the source of truth for what can be patched now.
Update attributes
Endpoint:PATCH /api/v1/misc/google-business/location/attributes
Body
Example: many boolean attributes (sample ids)
The following update payload shows real-styleattributes/... ids and boolean values arrays. Replace teamId with your team. Only use attribute ids that list available or get returns for your location (ids differ by category and region).
Example: enum-style attribute
name strings and allowed enum tokens come from list available and Google’s attribute catalog for that category.
Related
- Location & profile for core profile fields outside attributes.