创建地点
Add a new business location.
请求头
xi-api-key
xi-workspace-id
经销商 API 密钥操作的客户工作区。
请求
This endpoint expects an object.
name
Internal name, e.g. 'Main Office' or 'Downtown Branch', shown in the dashboard and owner notifications.
address
街道地址。
notes
面向客户的路线说明或其他备注,例如“建筑物后方免费停车”。
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
地点 ID。
is_active
地点是否启用。停用地点不接受预约。
address
街道地址。
notes
面向客户的路线说明或其他备注,例如“建筑物后方免费停车”。
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 时间戳。处于活跃状态时为 None。
deactivation_reason
该地点被停用的原因。启用时为 None。
允许的值:
错误
422
Unprocessable Entity Error