Skip to navigation

Update Location

Update an existing location. Only the fields sent are changed.

Path parameters

location_idstringRequired

ID of the location. Returned when you create one; list them with GET /v1/reception/locations.

Headers

xi-api-keystringOptional
xi-workspace-idstringRequired
The customer workspace a reseller's API key acts on.

Request

This endpoint expects an object.
namestringOptional
Internal name, e.g. 'Main Office' or 'Downtown Branch', shown in the dashboard and owner notifications.
addressstringOptional
Street address.
notesstringOptional
Directions or other notes for customers, e.g. 'Free parking behind the building'.
operating_hoursobject or nullOptional

Per-location operating hours. On create, omit to have the server prefill from the most recently added active location.

customer_facing_namestringOptional

Name shown to customers; empty reuses name.

max_concurrent_appointmentsintegerOptional

Maximum number of appointments that may overlap at this location at a single instant. Only enforced while the booking page setting concurrent_limit_enabled is on.

is_activebooleanOptional
Whether the location is active. Inactive locations take no bookings.

Response

Successful Response
namestring
Internal name, e.g. 'Main Office' or 'Downtown Branch', shown in the dashboard and owner notifications.
idstring
The location's ID.
is_activebooleanRead-only
Whether the location is active. Inactive locations take no bookings.
addressstringOptional
Street address.
notesstringOptional
Directions or other notes for customers, e.g. 'Free parking behind the building'.
operating_hoursobjectOptional
When this location is open.
customer_facing_namestringOptional

Name shown to customers; empty reuses name.

max_concurrent_appointmentsintegerOptional1-999Defaults to 1

Maximum number of appointments that may overlap at this location at a single instant. Only enforced while the booking page setting concurrent_limit_enabled is on.

deactivated_at_unixinteger or nullOptional
Unix timestamp when this location was deactivated. None when active.
deactivation_reasonenum or nullOptional
Why this location was deactivated. None when active.
Allowed values:

Errors

422
Unprocessable Entity Error