Update a local post
update_local_postUpdate existing local posts on Google Business Profile by specifying an updateMask to change only desired fields like summary, call-to-action, or event details.
Instructions
Updates fields of an existing local post (PATCH with a required updateMask — only masked fields change, e.g. updateMask "summary" with post {"summary": "New text"}). LocalPost fields: languageCode; summary (the post text); topicType (STANDARD | EVENT | OFFER | ALERT); callToAction {actionType: BOOK | ORDER | SHOP | LEARN_MORE | SIGN_UP | CALL, url}; event {title, schedule{startDate{year,month,day}, startTime{hours,minutes}, endDate, endTime}} — required for EVENT and OFFER; offer {couponCode, redeemOnlineUrl, termsConditions}; media [{mediaFormat: "PHOTO", sourceUrl}]. ALERT posts are restricted to Google-initiated campaigns and are typically rejected. Returns the updated post. Counts against the 10 edits/min per-profile cap. Local posts live only on the legacy v4 API (mybusiness.googleapis.com) — they were never migrated to v1.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post | Yes | Partial LocalPost with the new field values. | |
| postId | Yes | Local post id (last segment of the post's `name`). | |
| accountId | Yes | Account id — bare "123" or "accounts/123". | |
| locationId | Yes | Location id — bare "456", "locations/456" or "accounts/1/locations/456". | |
| updateMask | Yes | Comma-separated FieldMask of post fields to overwrite, e.g. "summary,callToAction". |