Update Location
Update an existing location. Only the fields sent are changed.
路径参数
location_id
请求头
xi-api-key
xi-workspace-id
The customer workspace a reseller's API key acts on.
请求
This endpoint expects an object.
name
Internal name, e.g. 'Main Office' or 'Downtown Branch', shown in the dashboard and owner notifications.
address
Street address.
notes
Directions or other notes for customers, e.g. 'Free parking behind the building'.
operating_hours
Per-location operating hours. On create, omit to have the server prefill from the most recently added active location.
customer_facing_name
Name shown to customers; empty reuses name.
max_concurrent_appointments
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_active
响应
成功响应
name
Internal name, e.g. 'Main Office' or 'Downtown Branch', shown in the dashboard and owner notifications.
_id
is_active
address
Street address.
notes
Directions or other notes for customers, e.g. 'Free parking behind the building'.
operating_hours
customer_facing_name
Name shown to customers; empty reuses name.
max_concurrent_appointments
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_unix
Unix timestamp when this location was deactivated. None when active.
deactivation_reason
Why this location was deactivated. None when active.
允许的值:
错误
422
Unprocessable Entity Error