更新经销商工作区
更新客户工作区。仅更改已发送的字段。
路径参数
workspace_id
客户工作区 ID。配置时返回;可使用 GET /v1/reception/reseller/workspaces 列出。
请求头
xi-api-key
请求
This endpoint expects an object.
metadata
替换工作区的完整元数据映射;发送 {} 可清空。省略则保持不变。
响应
成功响应
workspace_id
business_name
billing_tier
receptionist_count
calls_last_30_days
created_at_unix
subscription
由经销商管理的订阅(如果该工作区有)。None 表示经销商未在此销售任何内容:尚未分配套餐,或工作区自行支付订阅费用(参见 charge_customer)。
charge_customer
工作区自行支付订阅费用,因此无法在此分配或更改其套餐。
has_payment_issue
A charge for this workspace is unpaid. Assigning or changing a tier is refused until it clears, so surface it rather than letting it fail.
onboarding_completed_at_unix
引导流程完成的时间。在此之前,引导向导可能会替换或删除工作区的业务数据。
metadata
为工作区设置的自定义键值对。
错误
422
Unprocessable Entity Error