创建产品
Create a product the receptionist can quote and take orders for. A product created with track_quantity starts with nothing on hand; add stock with the stock endpoints.
请求头
经销商 API 密钥操作的客户工作区。
请求
‘fixed’ (default): the item has a known price the agent can quote, and customers can book or order it directly. ‘quote’: the price depends on the job (renovation, catering, custom work), so no price or slot is offered; the agent collects the intake_questions and files a quote request instead. Takes effect only while quotes are enabled for the business. Group services cannot use ‘quote’.
智能体在预订或订购此项目之前提出的问题。对于实用的 pricing_mode='quote' 项目,此项必填——否则报价请求中没有可供定价的信息——但也适用于需要补充详情的固定价格项目(例如染发前询问当前发色、护理前询问过敏情况)。
此项目的分组成员关系。每个条目包含分组标签及该项目在组内从 0 开始的排名。
无分组项目中的显示位置;null 排在最后。可通过重新排序端点更改。
产品价格;无标价时为 null。
False 会隐藏产品而不删除。
False 会保留产品列表展示(来电者可咨询),但不可订购。
客户订购此产品时可选择的履约选项。
Locations where this product is sold; empty list means all locations.
该产品是否计入库存。计入库存的产品在每个地点初始库存均为 0。
响应
成功响应
产品 ID。
‘fixed’ (default): the item has a known price the agent can quote, and customers can book or order it directly. ‘quote’: the price depends on the job (renovation, catering, custom work), so no price or slot is offered; the agent collects the intake_questions and files a quote request instead. Takes effect only while quotes are enabled for the business. Group services cannot use ‘quote’.
智能体在预订或订购此项目之前提出的问题。对于实用的 pricing_mode='quote' 项目,此项必填——否则报价请求中没有可供定价的信息——但也适用于需要补充详情的固定价格项目(例如染发前询问当前发色、护理前询问过敏情况)。
此项目的分组成员关系。每个条目包含分组标签及该项目在组内从 0 开始的排名。
无分组项目中的显示位置;null 排在最后。可通过重新排序端点更改。
产品价格;无标价时为 null。
False 会隐藏产品而不删除。
False 会保留产品列表展示(来电者可咨询),但不可订购。
客户订购此产品时可选择的履约选项。
Locations where this product is sold; empty list means all locations.
On-hand quantity by location. None means unlimited. A missing location key means zero.
创建时间,以秒为单位的 Unix 时间戳。
上次更新时间,以秒为单位的 Unix 时间戳。