路客云
  1. 房型分组
路客云
  • 客户端API
    • 静态信息
      • 保存房源
      • 房源下架
      • 保存门店
      • 门店发布
      • 门店预审核处理
    • 渠道
      • 飞猪
        • 渠道移除关联
  • 房型分组
    • 保存&同步渠道价格计划
      POST
  • 房型
    • 渠道房型同步
      POST
  • 其他
    • common获取接口
      POST
  1. 房型分组

保存&同步渠道价格计划

开发中
POST
/channelRoomCategoryProduct

请求参数

Header 参数
Content-Type
string 
必需
默认值:
application/json
hudson-access-token
必需
默认值:
{{token}}
Body 参数application/json
roomCategoryProductSyncAdd2Channels
array [object {5}] 
必需
roomCategoryId
integer 
必需
accountId
integer 
必需
isPublish
integer 
必需
roomCategoryProducts
object 
必需
channelRoomCategoryId
string 
必需
示例
{
  "channelRoomCategorySyncAdd2Channels": [
    {
      "roomCategoryId": 1556549083206385700,
      "accountId": 1556541050466128000,
      "isPublish": 1
    },
    {
      "roomCategoryId": 1556549100233003000,
      "accountId": 1556541050466128000,
      "isPublish": 1
    }
  ]
}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://hudson-dev.localhome.cn/channelRoomCategoryProduct' \
--header 'hudson-access-token;' \
--header 'Content-Type: application/json' \
--data-raw '{
   "channelRoomCategorySyncAdd2Channels": [
  {
    "roomCategoryId": 1556549083206385666,
    "accountId": 1556541050466127873,
    "isPublish": 1
  },
  {
    "roomCategoryId": 1556549100233003009,
    "accountId": 1556541050466127873,
    "isPublish": 1
  }
]
}'

返回响应

🟢200成功
application/json
Body
object {0}
示例
{}
🟢200统一返回
上一页
渠道移除关联
下一页
渠道房型同步
Built with