---
title: "Update attributes"
method: PATCH
path: "/api/profiles/{profile_id}/google_business/update_attributes"
tags: ["Google Business"]
---

# Update attributes

`PATCH /api/profiles/{profile_id}/google_business/update_attributes`

## Request

- Base URL: `https://api.postproxy.dev`
- URL: `https://api.postproxy.dev/api/profiles/{profile_id}/google_business/update_attributes`
- Auth: HTTP bearer

Updates attributes. Value shapes by type: boolean — values: [true]; enum/multi-select — repeatedEnumValue: { setValues: [...] }; URL — uriValues: [{ uri }]. attribute_mask defaults to exactly the attribute names sent, so a partial update never clears attributes left out — widen it deliberately to remove one.

## Path parameters

- `profile_id` string, required

## Query parameters

- `profile_group_id` string

## Headers

- `Idempotency-Key` string

## Request body

- object
  - `location_id` string, required: Placement ID — the location's full Google resource path
  - `attributes` object[], required: Objects with a name and a type-specific value field
  - `attribute_mask` string[]: Which attribute names to replace. Defaults to exactly the names in attributes

## Response `200`

The updated attributes

- object: Google's own resource shape, camelCased keys, passed through unchanged

## Other responses

- `400`: Missing required parameters.
- `401`: Invalid, missing, or insufficient API key permissions.
- `403`: Google refused the operation for this account
- `404`: Resource does not exist or is not accessible.
- `422`: Validation failed.
- `429`: Posting rate limit reached.

---

[API](https://skmtc.dev/postproxy/apis/postproxy-social-media-api.md) - [All operations](https://skmtc.dev/postproxy/apis/postproxy-social-media-api/llms.txt) - [OpenAPI document](https://skmtc.dev/postproxy/apis/postproxy-social-media-api/revisions/d54482ac4ce7?raw)
