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

房源下架

POST
/channelRoomCategories/syncAdd2Channel

请求参数

Header 参数
hudson-access-token
string 
必需
示例值:
{{token}}
Content-Type
string 
必需
示例值:
application/json
Body 参数application/json
channelRoomCategorySyncAdd2Channels
array [object {3}] 
必需
roomCategoryId
string 
可选
accountId
string 
可选
isPublish
integer 
可选
示例
{
  "channelRoomCategorySyncAdd2Channels": [
    {
      "roomCategoryId": "1493102705898823682",
      "accountId": "原因",
      "isPublish": 0
    }
  ]
}

示例代码

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/channelRoomCategories/syncAdd2Channel' \
--header 'hudson-access-token: 4266fea25ef44b61a435bb5944e392ac' \
--header 'hudson-access-token;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "channelRoomCategorySyncAdd2Channels": [{
        "roomCategoryId":"1493102705898823682",
        "accountId":"原因",
        "isPublish":0
    }]
}'

返回响应

🟢200成功
application/json
Body
object {0}
示例
{}
上一页
保存房源
下一页
保存门店
Built with