查询定价比例

返回与房间 (property_id) 或房型 (room_type_id) 关联的每个 OTA 房源的每渠道定价比率。定价比率是百居易乘以基本(房间/房型水平)价格的百分比,得出每个房间的实际价格。在技​​能层使用此端点来组成“按房间/房型更改价格”工作流程:读取比率,为每个非只读房源计算 target_price = round(base_price * ratio / 100),然后为每个房源调用一次 POST /listings/prices。标记为 readonly: true 的房间由渠道默默控制(例如 Airbnb 儿童房价计划),并且无法通过 POST /listings/prices 重新定价;跳过它们。

Query Params
int64

要读取比率的房间的 ID。与room_type_id互斥;必须提供两者之一。

int64

要读取比率的房型 ID。与property_id互斥;必须提供两者之一。

Response

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json