patch
https://connect.agendapro.com/v3/locations/
This endpoint updates an existing location. Only the fields present in the request are changed (partial update).
Important Notes
timesis a full replacement: send every open day. Any existing day not present in the request is removed.online_bookingenables or disables online booking for the location.- Use the activate and deactivate endpoints to change
active. - An id that belongs to another company answers
404, the same as an unknown id.
Errors Dictionary
| Status | Error | Detail | Description |
|---|---|---|---|
| 400 | invalid_body | expected_object | Request body is not a JSON object. |
| 400 | invalid_address | — | Address must be a non-empty array with long_name and types keys. |
| 400 | invalid_email | — | Email has an invalid format. |
| 400 | invalid_coordinates | — | Latitude and longitude are validated as a pair and cannot be set to null. |
| 400 | invalid_timezone | — | Timezone must be a valid IANA identifier. |
| 400 | invalid_country_id | — | The country is not one of the company's enabled countries. |
| 401 | unauthorized | invalid_api_key | Missing or invalid Bearer token. |
| 401 | unauthorized | api_config_inactive | API access is inactive for this company. |
| 403 | forbidden | scope_denied | API key lacks locations:write scope. |
| 404 | location_not_found | — | Location not found, or it belongs to another company. |
| 422 | invalid_location_times | — | Opening hours have an invalid format, order, or duplicate days. |
| 429 | rate_limited | burst_limit_exceeded | Per-minute request limit exceeded. |
| 429 | rate_limited | daily_quota_exceeded | Daily request quota exceeded. |
| 502 | upstream_unavailable | connection_failed | The upstream service is unavailable. |
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
