Create Location
Add a new business location.
헤더
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