---
title: "Update attributes"
method: PUT
path: "/v1/accounts/{accountId}/gmb-attributes"
tags: ["GMB Attributes"]
---

# Update attributes

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

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

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

## Path parameters

- `accountId` string, required

## Query parameters

- `locationId` string

## Request body

- object
  - `attributes` object[], required
    - `name` string, required
    - `valueType` 'ATTRIBUTE_VALUE_TYPE_UNSPECIFIED' | 'BOOL' | 'ENUM' | 'URL' | 'REPEATED_ENUM'
    - `values` unknown[]
      - unknown
    - `repeatedEnumValue` object
      - `setValues` string[]
      - `unsetValues` string[]
    - `uriValues` object[]
      - `uri` string, uri, required
  - `attributeMask` string, required — Comma-separated attribute names to update (e.g. 'has_delivery,has_takeout')

## Response `200`

Attributes updated successfully

- object
  - `success` boolean
  - `accountId` string
  - `locationId` string
  - `attributes` object[]

## Other responses

- `400` — Invalid request
- `401` — Unauthorized

---

[API](https://skmtc.net/zernio/apis/zernio-api.md) · [All operations](https://skmtc.net/zernio/apis/zernio-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/zernio/zernio-api/revisions/15e893e69e8c/schema)
