Update a location
update_locationUpdate Google Business Profile location fields selectively using a field mask. Validate changes without applying them, and respect the per-minute edit limit by batching updates.
Instructions
Updates fields of a location (PATCH with a required updateMask — only masked fields change). Pass the new values in location, e.g. {"title": "New name"} with updateMask "title". Set validateOnly to check the change without applying it. Note: every profile has a hard cap of 10 edits per minute (not raisable) — batch your changes into one call where possible. Returns the updated Location.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| location | Yes | Location object with the new field values (only fields named in updateMask are applied). | |
| locationId | Yes | Location id — bare "123", "locations/123" or "accounts/1/locations/123" all work. | |
| updateMask | Yes | Comma-separated FieldMask of the fields to overwrite, e.g. "title,phoneNumbers.primaryPhone". | |
| validateOnly | No | If true, validate the update without applying it. |