Appearance
Update action link
Updates a place action link (change URL or action type). Only the fields included in the request body will be updated.
PATCH /v1/accounts/{accountId}/gmb-place-actions
Updates a place action link (change URL or action type). Only the fields included in the request body will be updated.
Parameters
accountId(path, string) requiredlocationId(query, string) — Override which location to target. If omitted, uses the account's selected location.
Request body
Content-Type: application/json
name(string) required — Resource name of the place action link (e.g. locations/123/placeActionLinks/456)uri(string) — New action URLplaceActionType(string) (enum: APPOINTMENT, ONLINE_APPOINTMENT, DINING_RESERVATION, FOOD_ORDERING, FOOD_DELIVERY, FOOD_TAKEOUT, SHOP_ONLINE) — New action type
Example:
json
{
"name": "locations/123/placeActionLinks/456",
"uri": "https://order.doordash.com/joespizza"
}Responses
200 — Place action updated successfully
success(boolean)name(string)uri(string)placeActionType(string)
400 — Invalid request
error(string)details(object)
401 — Unauthorized
error(string)details(object)