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

门店发布

POST
/pois/publish

请求参数

Header 参数
HUDSON-ACCESS-TOKEN
string 
必需
示例值:
{{token}}
Content-Type
string 
必需
默认值:
application/json
Body 参数application/json
pois
array [object {1}] 
必需
poiId
string 
行poiId
必需
示例
{
  "pois": [
    {
      "poiId": "1537258964899991554"
    }
  ]
}

示例代码

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/pois/publish' \
--header 'HUDSON-ACCESS-TOKEN: 4266fea25ef44b61a435bb5944e392ac' \
--header 'Content-Type: application/json' \
--data-raw '{
    "pois": [
        {
            "poiId": "1537258964899991554"
        }
    ]
}'

返回响应

🟢200成功
application/json
Body
object {0}
示例
{
  "success": true,
  "errorCode": null,
  "errorMsg": null,
  "errorDetail": null,
  "data": true
}
上一页
保存门店
下一页
门店预审核处理
Built with