Skip to content

Update attributes

Updates location attributes (amenities, services, etc.).

The attributeMask specifies which attributes to update (comma-separated).

PUT /v1/accounts/{accountId}/gmb-attributes

Updates location attributes (amenities, services, etc.).

The attributeMask specifies which attributes to update (comma-separated).

Parameters

  • accountId (path, string) required

  • locationId (query, string) — Override which location to target. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.

Request body

Content-Type: application/json

  • attributes (array) required
  • attributeMask (string) required — Comma-separated attribute names to update (e.g. 'has_delivery,has_takeout')

Example:

json

{
  "attributes": [
    {
      "name": "has_delivery",
      "values": [
        true
      ]
    },
    {
      "name": "has_takeout",
      "values": [
        true
      ]
    },
    {
      "name": "has_outdoor_seating",
      "values": [
        false
      ]
    }
  ],
  "attributeMask": "has_delivery,has_takeout,has_outdoor_seating"
}

Responses

200 — Attributes updated successfully

  • success (boolean)
  • accountId (string)
  • locationId (string)
  • attributes (array)

400 — Invalid request

  • error (string)
  • details (object)

401 — Unauthorized

  • error (string)
  • details (object)