Google Business

Update hours

Updates regularHours (weekly schedule), specialHours (date-specific overrides such as holidays) and/or moreHours (named hour sets, e.g. kitchen or pickup hours). fields names which blocks are replaced and at least one matching block must be present. Times accept "09:00" / "09:00:00" or Google's { hours, minutes } object; days are MONDAY..SUNDAY; dates are { year, month, day }. Read current hours through Get location.

patch/api/profiles/{profile_id}/google_business/update_hours

Request

  • Base URL
    https://api.postproxy.dev
  • URL
    https://api.postproxy.dev/api/profiles/{profile_id}/google_business/update_hours
  • Auth
    HTTP bearer

Path parameters

profile_idstring required

Profile id (must be a google_business profile)

Query parameters

profile_group_idstring

Profile group context for the request. Optional when the API key is scoped to a profile group (that group is used automatically); with a full-access key, defaults to the first profile group in the account.

Headers

Idempotency-Keystring

Optional idempotency key (up to 255 characters; a UUID is ideal). Retrying a successful write with the same key replays the original response (with an Idempotent-Replay: true header) instead of executing again. Stored responses are kept for 24 hours; only 2xx responses are stored.

Request body

location_idstring required

Placement ID — the location's full Google resource path

fieldsstring[] required

Any of regularHours, specialHours, moreHours

regularHoursobject

Weekly schedule

specialHoursobject

Date-specific overrides (holidays)

moreHoursobject[]

Named hour sets, e.g. kitchen or pickup hours

Response

The updated location resource

object required

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

Changes

No recorded changes to this operation across all 1 revision of this API.