Locals 路客酒店开放接口
  1. 预订API
Locals 路客酒店开放接口
  • 预订API
    • 订单创建
      POST
    • 订单取消
      POST
    • 查询订单
      GET
  • 可用性API
    • 报价信息
      GET
  • 内容API
    • 酒店列表
      GET
    • 酒店详情
      GET
  • 数据模型
    • Data
    • ReserveRes
    • CheckDays
    • Customer
    • HudsonCustomer
    • RoomCustomer
    • HudsonCustomerInfo
    • DailyPrice
    • MapBigDecimal
    • ContactInfo
    • MapString
    • StdReserveRQ
    • Data
    • CancelRes
    • CancelRQ
    • BedType
    • Breakfast
    • RoomBed
    • DayInfo
    • Meal
    • ExtraFee
    • DailyInfo
    • GiftService
    • Fee
    • RefundRule
    • Gift
    • GoodsRoom
    • Rate
    • key
    • HotelRate
    • NationRule
    • MapHotelGoods
    • Data
    • AvailabilityRes
    • StdPricesRQ
    • Hotel
    • Data
    • HotelRes
    • BreakfastPolicy
    • Image
    • Room
    • HotelDetail
    • HotelDetailRes
  1. 预订API

查询订单

测试环境
https://hudson-dev.localhome.cn
测试环境
https://hudson-dev.localhome.cn
GET
/openapi/hotel/order
调用方式(HTTP Method):GET

请求参数

Query 参数

Header 参数

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://hudson-dev.localhome.cn/openapi/hotel/order' \
--header 'Authorization: {{authorization}}' \
--header 'Timestamp: {{timestamp}}' \
--header 'PartnerId: 1758852059833961'

返回响应

🟢200成功
application/json
Body

示例
{
  "success": false,
  "code": "",
  "message": "",
  "data": {
    "channelOrderId": "",
    "orderId": 0,
    "orderStatus": "",
    "orderMessage": "",
    "totalPriceAndTax": 0,
    "confirmId": "",
    "roomConfirmIds": [
      ""
    ]
  }
}
修改于 2025-10-14 03:28:32
上一页
订单取消
下一页
报价信息
Built with