文档中心 > API类目 > 酒店API(新)

taobao.xhotel.order.detail.search (订单详情查询)

提供订单详情查询

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
out_oid String 可选 123132 外部订单号
tid Number 可选 1231231231 外部订单号

响应参数

名称 类型 示例值 描述
top_order_detail TopOrderDetail 订单详情对象
  • └ close_order_rest_second
  • Number
  • 120
  • 卖家没有确认直接关单剩余时间
  • └ hid
  • Number
  • 123123123
  • 飞猪酒店ID
  • └ rp_name
  • String
  • 信用住
  • rp名称
  • └ rpid
  • Number
  • 13213123
  • 飞猪rpid
  • └ end_time
  • Date
  • 2017-07-29 00:00::00
  • 完结时间
  • └ type
  • Number
  • 1
  • 订单类型
  • └ pay_time
  • Date
  • 2017-07-29 00:00::00
  • 支付时间
  • top_order_package
  • TopOrderPackageDo
  • 订单关联包信息: topOrderPackageDO
  • order_package_details
  • TopOrderPackageDetail []
  • 套餐详情
  • └ scenic_address
  • String
  • 张家界一号路
  • 景区地址
  • └ scenic_name
  • String
  • 张家界
  • 景区名称
  • └ how_to_play
  • String
  • 游泳
  • 图文详情
  • └ scenic_id
  • Number
  • 1
  • 景区id
  • └ amount_unit
  • String
  • 套餐数量单位
  • └ amount
  • Number
  • 12300
  • 套餐数量
  • └ discount_price
  • Number
  • 12300
  • 套餐优惠金额
  • └ dimension_text
  • String
  • 1
  • 附加产品使用维度 1:每间维度 2:每晚维度 3:入住人数维度
  • └ type_name
  • String
  • 12300
  • 套餐类型名称
  • └ type
  • Number
  • 1
  • 套餐类型
  • └ name
  • String
  • 12300
  • 套餐名称
  • └ package_id
  • Number
  • 12300
  • 套餐ID
  • └ scenic_cover_img
  • String
  • 1.jpg
  • 景点封面图
  • └ order_package_desc
  • String
  • 描述
  • 描述
  • └ out_oid
  • String
  • 21312
  • 商家订单ID
  • └ created
  • Date
  • 2017-07-29 00:00::00
  • 下单时间
  • └ hotel_name
  • String
  • 如家航行路店
  • 酒店名称
  • └ nights
  • Number
  • 1
  • 住几晚
  • └ tid
  • Number
  • 123123
  • 飞猪订单ID
  • top_info_map
  • Topinfomap
  • Topinfomap
  • 订单垂直属性信息
  • └ hbs_eg_order
  • String
  • 1
  • hbsEgOrder
  • └ hbs_buyer_alipay_no
  • String
  • 20882028782831580156
  • hbsBuyerAlipayNo
  • └ pre_change_promotion_flag
  • String
  • 1
  • preChangePromotionFlag
  • └ morning_buy
  • String
  • 1
  • 凌晨入住订单
  • └ cancel_type
  • String
  • 1
  • cancelType
  • └ seller_delay_confirm_time
  • String
  • 11
  • 卖家延迟确认时间,单位分钟
  • └ currency_type
  • String
  • RMB
  • currencyType
  • └ hbs_bed_type
  • String
  • 标准单间
  • hbsBedType
  • └ umid
  • String
  • CV13z58eb74ce7438232a007e5e01c248
  • umid
  • └ hbs_old_promotionamt
  • String
  • 2000
  • hbsOldPromotionamt
  • └ hbs_max_other_fee
  • String
  • 1000
  • hbsMaxOtherFee
  • └ cancel_policy_json
  • String
  • {"cancelPolicyType":1,"policyInfo":{}}
  • cancelPolicyJson
  • └ hbs_alipay_mobile
  • String
  • 18693567304
  • hbsAlipayMobile
  • └ hbs_pms_order_id
  • String
  • C11
  • pms订单号
  • └ hbs_hotel_out_id
  • String
  • 20d34cde-1ce4-e411-949f-1051721b417b
  • hbsHotelOutId
  • └ hbs_credit_settle
  • String
  • 1
  • hbsCreditSettle
  • └ ebooking_direct_tag
  • String
  • 1
  • ebookingDirectTag
  • └ hbs_old_payment
  • String
  • 28000
  • hbsOldPayment
  • └ hbs_card_alipay_order
  • String
  • 1
  • 身份证线下信用住
  • └ promotion_snap_key
  • String
  • e0a1bbe1fb304025bb384a358a468f26
  • promotionSnapKey
  • └ hbs_all_tags
  • String
  • 3649,1729,1921,4353,65,20356,769,193,1793
  • hbsAllTags
  • └ hbs_direct
  • String
  • 1
  • 是否直连订单
  • └ upset_price
  • String
  • 1
  • 底价加价
  • └ reserved_room
  • String
  • reservedRoom
  • 是否包房
  • └ block_room
  • String
  • blockRoom
  • 是否保留房
  • └ hbs_out_source_corp_name
  • String
  • 阿里巴巴
  • 渠道企业名称
  • └ hbs_scan_code_order
  • String
  • 1
  • 扫码信用住
  • └ btrip_corporate_pay
  • String
  • 1
  • 商旅企业支付订单标识,1为是
  • └ online_booking_room
  • String
  • 1
  • 是否是在线预约订单
  • └ b2g_flag
  • String
  • 1
  • b2g标识
  • └ hbs_self_help_check_in
  • String
  • true
  • hbsSelfHelpCheckIn
  • └ hbs_xiao_shi_fang
  • String
  • 1
  • 小时房标识 1:小时房
  • └ hbs_hourage
  • String
  • 4
  • 小时房时长
  • └ advance_invocie_tag
  • String
  • 1
  • 预约发票标识
  • └ hour_room_reserved_time
  • String
  • 3
  • 小时房可入住时间
  • └ hour_room_leave_time
  • String
  • 2019-07-06 22:00:00
  • 小时房最晚离店时间
  • └ hour_room_arrive_time
  • String
  • 2019-07-06 15:00:00
  • 小时房到店时间
  • └ credit_pay_order
  • String
  • 1
  • 信用住升级订单
  • └ is_fz_member_order
  • String
  • true
  • 是否是菲住联盟会员 true or false
  • └ booker_member_card_no
  • String
  • 11123123
  • 会员卡卡号
  • └ credit_pay_cancel_fee
  • Number
  • 111200
  • 信用支付因取消的扣款费用的人民币,单位:分
  • └ hbs_out_source_corp_id
  • String
  • 11123123
  • 渠道企业id
  • └ selling_member_price
  • Number
  • 11123123
  • 售卖会员价
  • └ selling_price
  • Number
  • 2344
  • 售卖价
  • └ fliggy_member_level
  • String
  • f1
  • 飞猪会员等级
  • └ is_fz_member
  • String
  • false
  • 是否是菲住会员
  • └ member_card_order_id
  • String
  • 23232
  • 合并支付会员卡订单号
  • └ night_promotion_detail
  • String
  • {"detail":[{"day":1634313600000,"platFund":50,"reduce2Fund":0,"roomNumber":1,"sellerFullReduce":25,"sellerOtherReduce":100},{"day":1634313600000,"platFund":50,"reduce2Fund":0,"roomNumber":2,"sellerFullReduce":25,"sellerOtherReduce":100},{"day":1634313600000,"platFund":0,"reduce2Fund":0,"roomNumber":3,"sellerFullReduce":25,"sellerOtherReduce":150}],"platFundAll":100,"reduce2FundAll":0,"sellerFullReduceAll":75,"sellerOtherReduceAll":350}
  • 订单间夜优惠明细,其中其中day:日期,sellerFullReduce:当日满减卖家优惠,sellerOtherReduce:当日非满减卖家优惠,sellerFullReduceAll:总满减卖家优惠,sellerOtherReduceAll:总非满减卖家优惠
  • └ out_confirm_code
  • String
  • 123213
  • 外部订单的下单确认码
  • └ trade_status
  • String
  • 1
  • 交易状态
  • └ alipay_trade_no
  • String
  • 1231231213
  • 支付宝交易流水号
  • └ hotel_code
  • String
  • 13123
  • 商家酒店Code
  • └ rp_code
  • String
  • 123123
  • 商家rpcode
  • └ reserved_room_order
  • Boolean
  • true
  • 是否包房
  • top_relation_orders
  • TopRelationOrder []
  • 关联子订单对象
  • └ tid
  • Number
  • 12300
  • 订单tid
  • └ order_status
  • String
  • 12300
  • 订单状态
  • └ room_type_name
  • String
  • 12300
  • 房型名称
  • └ contact_name
  • String
  • 12300
  • 联系人名称
  • └ check_in_date
  • Date
  • 12300
  • 入住时间
  • └ check_out_date
  • Date
  • 12300
  • 离店时间
  • └ contact_phone
  • String
  • 12300
  • 联系手机号
  • └ union_status_text
  • String
  • unionStatusText
  • 统一订单状态
  • └ union_status_value
  • String
  • 1
  • 统一订单状态
  • └ pay_status
  • Number
  • 1
  • 支付状态
  • └ room_number
  • Number
  • 1
  • 房间数
  • └ nights
  • Number
  • 1
  • 入住天数
  • └ payment
  • Number
  • 11100
  • 支付金额
  • └ split_order
  • Boolean
  • true
  • 是否拆单
  • hotel_order_seller
  • HotelOrderSellerDo
  • 酒店订单卖家信息
  • payment
  • OrderSellerPaymentDo
  • 支付类型
  • └ promotion_create_price
  • Number
  • 12300
  • 下单时刻营销后金额
  • └ after_promotion_create_price
  • Number
  • 12300
  • 下单时刻营销后金额
  • └ total_room_price
  • Number
  • 12300
  • 总房费
  • daily_infos
  • HbsDailyPriceDo
  • 每日价格
  • └ currency_code
  • String
  • RMB
  • 币种
  • └ exchange_rate
  • String
  • 6.9
  • 汇率
  • daily_prices
  • DailyPriceTo []
  • 每日价格
  • └ foreign_currency_price
  • Number
  • 12300
  • 外币价格
  • └ point
  • Number
  • 12300
  • 积分数
  • └ mileage
  • Number
  • 12300
  • 淘里程数
  • └ currency_code_name
  • String
  • RMB
  • 币种名称
  • └ price
  • Number
  • 12300
  • 价格
  • └ tax_price
  • Number
  • 12300
  • 税费
  • └ break_fast_count
  • Number
  • 3
  • 早餐数
  • └ day
  • String
  • 2017-07-19 12:00:00
  • 日期
  • └ after_promotion_price
  • Number
  • 12300
  • 优惠后金额
  • └ base_price
  • Number
  • 12300
  • 基础金额
  • └ tax_foreign_price
  • Number
  • 12300
  • 税费外币金额
  • └ service_price
  • Number
  • 1212
  • servicePrice
  • └ service_foreign_price
  • Number
  • 12121
  • serviceForeignPrice
  • └ base_foreign_price
  • Number
  • 1200
  • 外币底价
  • └ after_promotion_current_price
  • Number
  • 12300
  • 优惠后外币金额
  • └ promotion_current_price
  • Number
  • 12300
  • 优惠外币金额
  • settle_payment
  • OrderSettleDo
  • 卖家结账单信息
  • └ plat_promotion_price
  • Number
  • 12300
  • 平台优惠金额
  • └ other_fee
  • Number
  • 12300
  • 其他费用
  • └ room_price
  • Number
  • 12300
  • 房费
  • └ order_settle_price
  • Number
  • 12300
  • 结账金额
  • settle_daily_price
  • HbsDailyPriceDo
  • 12300
  • 实际结账日历
  • └ currency_code
  • String
  • RMB
  • 币种
  • └ exchange_rate
  • String
  • 6.9
  • 下单时汇率
  • daily_prices
  • DailyPriceTo []
  • 每日房价列表
  • └ foreign_currency_price
  • Number
  • 12300
  • 外币,单位:元*100
  • └ point
  • Number
  • 12300
  • 使用积分数
  • └ mileage
  • Number
  • 12300
  • 里程数
  • └ currency_code_name
  • String
  • RMB
  • 币种名称
  • └ price
  • Number
  • 12300
  • 价格
  • └ tax_price
  • Number
  • 12300
  • 税费
  • └ break_fast_count
  • Number
  • 3
  • 早餐数
  • └ day
  • String
  • 2017-07-19 12:00:00
  • 日期
  • └ after_promotion_price
  • Number
  • 12300
  • 每日营销后金额
  • └ base_price
  • Number
  • 12300
  • 底价人民币价格
  • └ tax_foreign_price
  • Number
  • 12300
  • 税费外币金额,单位:元*100
  • └ service_price
  • Number
  • 12121
  • servicePrice
  • └ service_foreign_price
  • Number
  • 12121
  • serviceForeignPrice
  • └ base_foreign_price
  • Number
  • 1200
  • 外币底价
  • └ promotion_price
  • Number
  • 12300
  • 卖家优惠金额
  • └ contact_name
  • String
  • 张三
  • 联系人名称
  • └ out_source_corp_name
  • String
  • 阿里巴巴
  • 渠道企业名称
  • └ booking_status
  • Number
  • 1
  • 预定状态 面付信用住有效
  • └ out_order_id
  • String
  • 123123
  • 外部订单号
  • └ room_type_code
  • String
  • 123123
  • 商家房型Code
  • └ related_code
  • String
  • 12311231
  • 消费码 全场景消费
  • └ union_status_text
  • String
  • 已下单
  • 统一订单状态,与union_status_value相对应。101:已下单;102:已付款;103:确认有房;104:交易成功;105:申请退款;106:卖家拒绝退款;108:订单关闭;109:退款成功;522:买家待支付;501:已下单;502:确认有房;503:确认前用户取消;504:确认无房;505:买家入住;506:系统自动核实入住成功;507:确认后用户取消;508:卖家核实未入住NoShow;601:已下单;602:确认有房;603:确认前用户取消;604:确认无房;605:买家入住;606:系统自动核实入住成功;607:确认后用户取消;608:卖家核实未入住NoShow;609:买家离店;610:结账中;611:结账成功;612:结账失败追账中;613:追账成功;614:NOSHOW结账中;615:NOSHOW结账成功;616:NOSHOW结账失败;617:NOSHOW追账成功;618:结账取消;619:系统自动核实未入住成功;620:结账失败追账失败;621:结账失败追账成功;701:已下单;702:确认有房;703:用户取消;704:确认无房;705:买家入住;709:买家离店;710:取消中
  • └ checkin_date
  • Date
  • 2017-07-10 18:00:00
  • 入住时间
  • top_daily_infos
  • TopDailyInfo []
  • List
  • └ price
  • Number
  • 12300
  • 价格
  • └ break_fast_count
  • Number
  • 3
  • 早餐数
  • └ day
  • String
  • 2017-07-19 12:00:00
  • 日期
  • └ extra_add_price
  • Number
  • 9000
  • 加价金额
  • └ room_number
  • Number
  • 1
  • 房间数
  • └ logistics_status_text
  • String
  • 待发货
  • 物流状态描述
  • └ confirm_duration
  • Number
  • 123
  • 订单确认时长
  • └ checkout_date
  • Date
  • 2017-07-10 18:00:00
  • 离店时间
  • top_overseas_price_info
  • TopOverseasPriceInfoDo
  • 海外酒店信息
  • └ currency_code
  • String
  • RMB
  • 币种
  • └ booking_product_sale_price
  • Number
  • 12300
  • 产品售价,单位(元*100),包含税服务费等
  • └ buyer_payment
  • Number
  • 12300
  • 买家应付包含杂费,单位(元*100)
  • └ tax_price
  • Number
  • 12300
  • 税费,单位(元*100)
  • └ seller_payment
  • Number
  • 12300
  • 卖家应收包含杂费,单位(元*100)
  • └ other_fee
  • Number
  • 12300
  • 结账杂费,单位(元*100)
  • └ booking_service_price
  • Number
  • 12300
  • 服务费,单位(元*100)
  • └ booking_rate
  • String
  • 6.9
  • 下单时汇率
  • └ rate
  • String
  • 6.9
  • 当前汇率
  • └ book_seller_payment
  • Number
  • 12300
  • 下单时刻卖家应收
  • └ booking_tax_price
  • Number
  • 12300
  • 税费,单位(元*100)
  • └ total_payment
  • Number
  • 12300
  • 总价包含杂费,单位(元*100)
  • └ checkout_rate
  • String
  • 离店汇率
  • 离店日汇率
  • └ fund_price
  • Number
  • 12300
  • 担保金(元*100)
  • └ settle_product_sale_price
  • Number
  • 12300
  • 结账产品售价,单位(元*100),包含税服务费等
  • └ service_price
  • Number
  • 12300
  • 服务费,单位(元*100)
  • create_order_daily_price
  • HbsDailyPriceDo
  • 日历价格
  • daily_prices
  • DailyPriceTo []
  • 日历价格详情
  • └ day
  • Date
  • 2017-07-10 00::00:00
  • 日期
  • └ price
  • Number
  • 12000
  • 价格
  • └ break_fast_count
  • Number
  • 2
  • 早餐
  • └ tax_price
  • Number
  • 1200
  • 税费人民币金额
  • └ foreign_currency_price
  • Number
  • 111
  • 外币金额
  • └ service_price
  • Number
  • 111
  • 服务费人民币金额
  • └ tax_foreign_price
  • Number
  • 12121
  • 税费外币金额
  • └ service_foreign_price
  • Number
  • 12121
  • 服务费外币金额
  • └ base_foreign_price
  • Number
  • 1200
  • 外币底价
  • └ base_price
  • Number
  • 1200
  • 人民币底价
  • └ booking_rooms_price
  • Number
  • 1212
  • bookingRoomsPrice
  • settle_order_daily_price
  • HbsDailyPriceDo
  • settleOrderDailyPrice
  • daily_prices
  • DailyPriceTo []
  • dailyPrices
  • └ day
  • Date
  • 2017-09-01 00:00:00
  • 日期
  • └ price
  • Number
  • 1212
  • 房价
  • └ break_fast_count
  • Number
  • 1
  • 早餐数
  • └ tax_price
  • Number
  • 12
  • 税费人民币金额
  • └ foreign_currency_price
  • Number
  • 1212
  • 外币金额
  • └ service_price
  • Number
  • 111
  • 服务费人民币金额
  • └ tax_foreign_price
  • Number
  • 122
  • 税费外币金额
  • └ service_foreign_price
  • Number
  • 1212
  • 服务费外币金额
  • └ base_foreign_price
  • Number
  • 1200
  • 外币底价
  • └ base_price
  • Number
  • 1200
  • 人民币底价
  • └ rooms_price
  • Number
  • 1200
  • 房费
  • └ base_price
  • Number
  • 1200
  • 底价房费
  • └ booking_base_price
  • Number
  • 1200
  • 下单时底价房费
  • └ need_confirm_no
  • Boolean
  • true
  • 是否需要确认号
  • └ show_seller_delay_confirm_button
  • Boolean
  • true
  • 是否展示“卖家延迟按钮”
  • └ arrive_late
  • Date
  • 2017-07-10 18:00:00
  • 最晚到店时间
  • └ contact_phone
  • String
  • 12345678900
  • 联系人电话
  • └ block_room_order
  • Boolean
  • true
  • 是否保留房
  • └ payment
  • Number
  • 12300
  • 用户支付费用
  • └ refund_reason
  • String
  • 取消
  • 订单取消原因
  • top_promotion
  • TopPromotion
  • topPromotion
  • topPromotion
  • top_create_order_promotion
  • TopOrderPromotionDetail
  • topCreateOrderPromotion
  • topCreateOrderPromotion
  • └ cash_back_amount
  • Number
  • 11121
  • 返现金额
  • └ seller_decrease
  • Number
  • 12112
  • 卖家立减
  • top_hotel_promotions
  • TopHotelPromotion []
  • topHotelPromotions
  • topHotelPromotions
  • └ consume_mileage
  • Number
  • 12300
  • 消費里程数
  • └ rule_desc
  • String
  • 描述
  • 订单命中的优惠计算规则描述(由优惠计算规则解析后的文本形式)
  • └ promotion_desc
  • String
  • 描述
  • 活动优惠描述
  • └ amount
  • Number
  • 12300
  • 活动使用的优惠金额,以分为单位
  • └ seller_amount
  • Number
  • 12300
  • 活动使用的卖家优惠金额,以分为单位
  • └ times
  • Number
  • 12300
  • 活动使用优惠次数
  • └ priority
  • Number
  • 12300
  • 活动展示优先级(越大优先级越高)
  • └ tid
  • Number
  • 12300
  • tid
  • └ amount_type
  • Number
  • 默认字符串
  • 优惠的呈现方式,目前有如下定义:,1. 金额类优惠,2. 使用次数类优惠,3. 权益类优惠,4. 后返类优惠
  • └ activity_icon_desc
  • String
  • 默认字符串
  • 活动Icon文案描述
  • └ activity_group_name
  • String
  • 默认字符串
  • 活动分组名称
  • └ activity_code
  • String
  • 默认字符串
  • 对应的航旅平台活动规则
  • └ discount
  • Number
  • 12300
  • 活动使用的折扣
  • └ rule_type
  • Number
  • 12300
  • 优惠计算规则类型
  • └ rule_target
  • Number
  • 12300
  • 优惠维度
  • └ integral_activity
  • Boolean
  • true
  • 是否"积分加钱购"类型活动
  • └ rule_code
  • String
  • code
  • 使用的活动规则code
  • └ activity_name
  • String
  • 默认字符串
  • 卖家系统中的活动名称
  • └ investor_type
  • Number
  • 1
  • 出资方是否卖家还是平台
  • └ decrease
  • Number
  • 2232
  • 立减金额
  • └ platform_decrease
  • Number
  • 23232
  • 平台立减金额
  • top_current_order_promotion
  • TopOrderPromotionDetail
  • topCurrentOrderPromotion
  • topCurrentOrderPromotion
  • └ cash_back_amount
  • Number
  • cashBackAmount
  • 返现金额
  • └ seller_decrease
  • Number
  • 12121
  • 卖家立减金额
  • top_hotel_promotions
  • TopHotelPromotion []
  • topHotelPromotions
  • └ rule_desc
  • String
  • 规则
  • 规则描述
  • └ investor_type
  • String
  • 1
  • 出资方
  • └ amount
  • Number
  • 12300
  • 金额
  • └ seller_amount
  • Number
  • 12300
  • 卖家金额
  • └ times
  • Number
  • 12300
  • 优惠次数
  • └ amount_type
  • Number
  • 0
  • 优惠类型
  • └ activity_code
  • String
  • 1
  • 活动编号
  • └ rule_type
  • Number
  • 12300
  • 规则类型
  • └ rule_target
  • Number
  • 12300
  • 优惠目标(1:订单总额,2:每间夜,3:首晚)
  • └ rule_code
  • String
  • 11
  • 规则编号
  • └ activity_name
  • String
  • 优惠活动
  • 活动名称
  • └ decrease
  • Number
  • 11212
  • 立减金额
  • └ platform_decrease
  • Number
  • 12121
  • 平台立减金额
  • top_order_promotion_extend
  • TopOrderPromotionExtend
  • topOrderPromotionExtend
  • topOrderPromotionExtend
  • top_daily_seller_promotions
  • TopDailySellerPromotion []
  • topDailySellerPromotions
  • topDailySellerPromotions
  • └ date
  • Date
  • 1212121
  • 日期
  • └ seller_promotion
  • Number
  • 121
  • 卖家优惠金额
  • └ rid
  • Number
  • 123123
  • 飞猪房型ID
  • └ arrive_early
  • Date
  • 2017-07-10 18:00:00
  • 最早到店时间
  • └ sub_type
  • Number
  • 1
  • 子订单类型
  • └ total_room_price
  • Number
  • 31200
  • 总房费
  • └ out_source
  • String
  • 1
  • outSource
  • └ room_type_name
  • String
  • 大床房
  • 房型名称
  • top_order_guests
  • TopOrderGuest []
  • List
  • └ customer_type
  • Number
  • 12300
  • 住客类型
  • └ person_no
  • Number
  • 12300
  • 住客编号
  • └ name
  • String
  • 张三
  • 名称
  • └ age
  • Number
  • 12300
  • 年龄
  • └ room_no
  • Number
  • 12300
  • 房间编号
  • └ union_status_value
  • Number
  • 1
  • 统一订单状态
  • └ invoice_title
  • String
  • 阿里巴巴
  • 发票抬头
  • └ other_fee
  • Number
  • 12300
  • 其他费用
  • └ memo
  • String
  • 备注
  • memo
  • └ logistics_status_value
  • Number
  • 1
  • 物流状态值
  • └ pay_status
  • Number
  • 1
  • 支付状态
  • └ guarantee_type
  • Number
  • 1
  • 担保类型
  • └ fund_id
  • Number
  • 1
  • 担保id
  • └ cancel_policy_desc
  • String
  • 免费取消
  • 取消规则描述
  • └ tag_jsqr
  • Boolean
  • true
  • 是否即时确认
  • └ rate_id
  • String
  • 1111
  • 房价id
  • └ tax_and_fee
  • Number
  • 1200
  • 税和费,单位分
  • top_domestic_price_info
  • TopDomesticPriceInfoDo
  • topDomesticPriceInfoDO
  • create_order_daily_price
  • HbsDailyPriceDo
  • createOrderDailyPrice
  • daily_prices
  • DailyPriceTo []
  • 每日价格
  • └ tax_price
  • Number
  • 1200
  • 税费
  • └ break_fast_count
  • Number
  • 2
  • 早餐
  • └ price
  • Number
  • 12399
  • 价格
  • └ day
  • Date
  • 2017-09-06 00:00:00
  • 日期
  • └ base_price
  • Number
  • 1200
  • basePrice
  • └ base_foreign_price
  • Number
  • 1200
  • 外币底价
  • └ tax_price
  • Number
  • 121
  • taxPrice
  • └ rooms_price
  • Number
  • 1212
  • roomsPrice
  • └ service_price
  • Number
  • 121
  • servicePrice
  • └ other_fee
  • Number
  • 121
  • otherFee
  • └ booking_rooms_price
  • Number
  • 212
  • bookingRoomsPrice
  • └ booking_tax_price
  • Number
  • 2121
  • bookingTaxPrice
  • └ booking_service_price
  • Number
  • 212
  • bookingServicePrice
  • settle_order_daily_price
  • HbsDailyPriceDo
  • settleOrderDailyPrice
  • daily_prices
  • DailyPriceTo []
  • dailyPrices
  • └ tax_price
  • Number
  • 121
  • 税费
  • └ break_fast_count
  • Number
  • 1
  • 早餐数
  • └ price
  • Number
  • 12121
  • 房价
  • └ day
  • Date
  • 2017-09-01 00:00:00
  • 日期
  • └ base_price
  • Number
  • 1200
  • basePrice
  • └ base_foreign_price
  • String
  • 1200
  • 外币底价
  • └ base_price
  • Number
  • 1000
  • basePrice
  • └ booking_base_price
  • Number
  • 1000
  • bookingBasePrice
  • └ user_real_payment
  • Number
  • 9900
  • 用户实际支付金额
  • └ gmt_modified
  • Date
  • 2017-09-01 00:00:00
  • gmtModified
  • └ vendor
  • String
  • taobao
  • vendor
  • credit_card
  • CreditCard
  • 信用卡vcc信息
  • └ cvv_code
  • String
  • 123121
  • 信用卡cvv
  • └ card_number
  • String
  • 123123123231
  • 信用卡卡号
  • └ expiration_date
  • String
  • 07/19
  • 客人选择的有效期格式: 月/年
  • └ card_code
  • String
  • VA
  • 卡类型,AX,MC,DC,VA
  • └ card_holder_name
  • String
  • 张飞
  • 持卡人姓名
  • └ refund_status
  • String
  • 1
  • 退款状态,1:买家已经申请退款,等待卖家同意;4:退款关闭;5:退款成功;6:卖家拒绝退款;9:没有申请退款
  • └ refund_amout
  • Number
  • 1200
  • 退款金额 单位为分
  • post_trade_refund
  • TopPostTradeRefundDo
  • 退款信息
  • └ refund_suc_time
  • Date
  • 2018-01-16 11:00:00
  • 退款成功时间
  • └ remark
  • String
  • 正常退款
  • 创建退款申请时的额外描述
  • └ refund_amount
  • Number
  • 1100
  • 申请的退款金额(单位:分)
  • └ refund_reason
  • String
  • 1
  • 引起退款申请的类型描述
  • └ post_trade_refund_type
  • Number
  • 1
  • 售后退款类型,1:买家取消订单,创建退款申请;2:卖家发起协商取消;3:卖家用户协商一致后,小二执行退款操作;4:卖家发起协商取消退款,系统收到买家确认短信后进行退款
  • └ post_trade_refund_status
  • Number
  • 1
  • 退款状态,1:退款申请已创建;2:退款申请已拒绝;3:退款处理中;4:退款已成功;5:退款失败;6: 退款申请已取消
  • └ create_time
  • Date
  • 2018-01-16 11:00:00
  • 退款发起时间
  • └ tid
  • Number
  • 123121
  • tid
  • └ channel
  • String
  • A
  • 销售渠道
  • └ city
  • Number
  • 100100
  • 城市code
  • └ payment_type
  • String
  • 1
  • 支付类型
  • └ invoice_status
  • String
  • 1
  • 发票状态
  • └ order_source_type
  • String
  • 1
  • 订单来源类型
  • top_invoice
  • TopInvoiceDo
  • topInvoiceDO
  • └ provider_type
  • Number
  • 1
  • 发票提供方:0未知 1酒店前台,2卖家开具
  • └ refund_reason_type
  • Number
  • 101
  • 退款原因类型如101,503之类
  • └ max_occupancy
  • Number
  • 4
  • 入住人数(rate维度)
  • top_order_coupon_d_o
  • TopOrderCouponDo
  • topOrderCouponDo
  • com.taobao.trip.htq.top.result.TopOrderCouponDO
  • └ coupon_title
  • String
  • 【暑期促销】深圳君悦酒店1-2晚客房含双早套餐享200元SPA抵扣券
  • 卡劵名称
  • └ coupon_biz_type
  • Number
  • 113048
  • 卡劵模块id
  • └ coupon_out_biz_id
  • String
  • 1995032883688065324
  • 卡劵订单号
  • └ can_split
  • Boolean
  • false
  • 是否可拆分
  • └ face_value
  • String
  • 326500
  • 面额
  • └ room_night_face_value
  • String
  • 163250
  • 单间夜面额
  • └ instruction
  • String
  • 预约时间:(2021-08-01 00)—— (2021-10-28 00)<br>入住时间:(2021-08-04)—— (2021-10-31)<br>不可入住时间:(2021-08-04)—— (2021-10-31)内,星期(1)不可入住<br>请在入住前至少提前3天预约<br>加价说明:<br>线上加价:2021-08-01 —— 2021-09-18时间范围内星期(1,2,3,4)入住需要加价400.00元,请在预约提交订单后支付,入住时无需再次支付<br>线上加价:2021-09-22 —— 2021-09-30时间范围内星期(1,2,3,4)入住需要加价400.00元,请在预约提交订单后支付,入住时无需再次支付<br>线上加价:2021-10-08 —— 2021-10-31时间范围内星期(1,2,3,4)入住需要加价400.00元,请在预约提交订单后支付,入住时无需再次支付
  • 卡劵说明
  • promotion
  • OrderPromotionDo
  • OrderPromotionDo
  • OrderPromotionDO
  • current_order_promotion
  • OrderPromotionDetail
  • OrderPromotionDetail
  • OrderPromotionDetail
  • └ daily_hotel_promotion
  • String
  • {1624982400000:{\"amount\":1500,},1625068800000:{\"amount\":1500}}
  • 优惠日历数据,如{时间:{\"amount\":每日优惠金额,},时间:{\"amount\":每日优惠金额}}
  • └ seller_decrease
  • Number
  • 3000
  • 总卖家优惠
  • └ rp_ori_name
  • String
  • 君悦客双床1晚x午/晚餐x礼遇1188x
  • 原始rp信息
error String error 错误编号

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
1
2
3
4
5
6
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
XhotelOrderDetailSearchRequest req = new XhotelOrderDetailSearchRequest();
req.setOutOid("123132");
req.setTid(1231231231L);
XhotelOrderDetailSearchResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
<xhotel_order_detail_search_response>
    <top_order_detail>
        <close_order_rest_second>120</close_order_rest_second>
        <hid>123123123</hid>
        <rp_name>信用住</rp_name>
        <rpid>13213123</rpid>
        <end_time>2017-07-29 00:00::00</end_time>
        <type>1</type>
        <pay_time>2017-07-29 00:00::00</pay_time>
        <top_order_package>
            <order_package_details>
                <top_order_package_detail>
                    <scenic_address>张家界一号路</scenic_address>
                    <scenic_name>张家界</scenic_name>
                    <how_to_play>游泳</how_to_play>
                    <scenic_id>1</scenic_id>
                    <amount_unit>人</amount_unit>
                    <amount>12300</amount>
                    <discount_price>12300</discount_price>
                    <dimension_text>1</dimension_text>
                    <type_name>12300</type_name>
                    <type>1</type>
                    <name>12300</name>
                    <package_id>12300</package_id>
                    <scenic_cover_img>1.jpg</scenic_cover_img>
                </top_order_package_detail>
            </order_package_details>
            <order_package_desc>描述</order_package_desc>
        </top_order_package>
        <out_oid>21312</out_oid>
        <created>2017-07-29 00:00::00</created>
        <hotel_name>如家航行路店</hotel_name>
        <nights>1</nights>
        <tid>123123</tid>
        <top_info_map>
            <hbs_eg_order>1</hbs_eg_order>
            <hbs_buyer_alipay_no>20882028782831580156</hbs_buyer_alipay_no>
            <pre_change_promotion_flag>1</pre_change_promotion_flag>
            <morning_buy>1</morning_buy>
            <cancel_type>1</cancel_type>
            <seller_delay_confirm_time>11</seller_delay_confirm_time>
            <currency_type>RMB</currency_type>
            <hbs_bed_type>标准单间</hbs_bed_type>
            <umid>CV13z58eb74ce7438232a007e5e01c248</umid>
            <hbs_old_promotionamt>2000</hbs_old_promotionamt>
            <hbs_max_other_fee>1000</hbs_max_other_fee>
            <cancel_policy_json>{&quot;cancelPolicyType&quot;:1,&quot;policyInfo&quot;:{}}</cancel_policy_json>
            <hbs_alipay_mobile>18693567304</hbs_alipay_mobile>
            <hbs_pms_order_id>C11</hbs_pms_order_id>
            <hbs_hotel_out_id>20d34cde-1ce4-e411-949f-1051721b417b</hbs_hotel_out_id>
            <hbs_credit_settle>1</hbs_credit_settle>
            <ebooking_direct_tag>1</ebooking_direct_tag>
            <hbs_old_payment>28000</hbs_old_payment>
            <hbs_card_alipay_order>1</hbs_card_alipay_order>
            <promotion_snap_key>e0a1bbe1fb304025bb384a358a468f26</promotion_snap_key>
            <hbs_all_tags>3649,1729,1921,4353,65,20356,769,193,1793</hbs_all_tags>
            <hbs_direct>1</hbs_direct>
            <upset_price>1</upset_price>
            <reserved_room>reservedRoom</reserved_room>
            <block_room>blockRoom</block_room>
            <hbs_out_source_corp_name>阿里巴巴</hbs_out_source_corp_name>
            <hbs_scan_code_order>1</hbs_scan_code_order>
            <btrip_corporate_pay>1</btrip_corporate_pay>
            <online_booking_room>1</online_booking_room>
            <b2g_flag>1</b2g_flag>
            <hbs_self_help_check_in>true</hbs_self_help_check_in>
            <hbs_xiao_shi_fang>1</hbs_xiao_shi_fang>
            <hbs_hourage>4</hbs_hourage>
            <advance_invocie_tag>1</advance_invocie_tag>
            <hour_room_reserved_time>3</hour_room_reserved_time>
            <hour_room_leave_time>2019-07-06 22:00:00</hour_room_leave_time>
            <hour_room_arrive_time>2019-07-06 15:00:00</hour_room_arrive_time>
            <credit_pay_order>1</credit_pay_order>
            <is_fz_member_order>true</is_fz_member_order>
            <booker_member_card_no>11123123</booker_member_card_no>
            <credit_pay_cancel_fee>111200</credit_pay_cancel_fee>
            <hbs_out_source_corp_id>11123123</hbs_out_source_corp_id>
            <selling_member_price>11123123</selling_member_price>
            <selling_price>2344</selling_price>
            <fliggy_member_level>f1</fliggy_member_level>
            <is_fz_member>false</is_fz_member>
            <member_card_order_id>23232</member_card_order_id>
            <night_promotion_detail>{&quot;detail&quot;:[{&quot;day&quot;:1634313600000,&quot;platFund&quot;:50,&quot;reduce2Fund&quot;:0,&quot;roomNumber&quot;:1,&quot;sellerFullReduce&quot;:25,&quot;sellerOtherReduce&quot;:100},{&quot;day&quot;:1634313600000,&quot;platFund&quot;:50,&quot;reduce2Fund&quot;:0,&quot;roomNumber&quot;:2,&quot;sellerFullReduce&quot;:25,&quot;sellerOtherReduce&quot;:100},{&quot;day&quot;:1634313600000,&quot;platFund&quot;:0,&quot;reduce2Fund&quot;:0,&quot;roomNumber&quot;:3,&quot;sellerFullReduce&quot;:25,&quot;sellerOtherReduce&quot;:150}],&quot;platFundAll&quot;:100,&quot;reduce2FundAll&quot;:0,&quot;sellerFullReduceAll&quot;:75,&quot;sellerOtherReduceAll&quot;:350}</night_promotion_detail>
        </top_info_map>
        <out_confirm_code>123213</out_confirm_code>
        <trade_status>1</trade_status>
        <alipay_trade_no>1231231213</alipay_trade_no>
        <hotel_code>13123</hotel_code>
        <rp_code>123123</rp_code>
        <reserved_room_order>true</reserved_room_order>
        <top_relation_orders>
            <top_relation_order>
                <tid>12300</tid>
                <order_status>12300</order_status>
                <room_type_name>12300</room_type_name>
                <contact_name>12300</contact_name>
                <check_in_date>12300</check_in_date>
                <check_out_date>12300</check_out_date>
                <contact_phone>12300</contact_phone>
                <union_status_text>unionStatusText</union_status_text>
                <union_status_value>1</union_status_value>
                <pay_status>1</pay_status>
                <room_number>1</room_number>
                <nights>1</nights>
                <payment>11100</payment>
            </top_relation_order>
        </top_relation_orders>
        <split_order>true</split_order>
        <hotel_order_seller>
            <payment>
                <promotion_create_price>12300</promotion_create_price>
                <after_promotion_create_price>12300</after_promotion_create_price>
                <total_room_price>12300</total_room_price>
                <daily_infos>
                    <currency_code>RMB</currency_code>
                    <exchange_rate>6.9</exchange_rate>
                    <daily_prices>
                        <daily_price_to>
                            <foreign_currency_price>12300</foreign_currency_price>
                            <point>12300</point>
                            <mileage>12300</mileage>
                            <currency_code_name>RMB</currency_code_name>
                            <price>12300</price>
                            <tax_price>12300</tax_price>
                            <break_fast_count>3</break_fast_count>
                            <day>2017-07-19 12:00:00</day>
                            <after_promotion_price>12300</after_promotion_price>
                            <base_price>12300</base_price>
                            <tax_foreign_price>12300</tax_foreign_price>
                            <service_price>1212</service_price>
                            <service_foreign_price>12121</service_foreign_price>
                            <base_foreign_price>1200</base_foreign_price>
                        </daily_price_to>
                    </daily_prices>
                </daily_infos>
                <after_promotion_current_price>12300</after_promotion_current_price>
                <promotion_current_price>12300</promotion_current_price>
            </payment>
            <settle_payment>
                <plat_promotion_price>12300</plat_promotion_price>
                <other_fee>12300</other_fee>
                <room_price>12300</room_price>
                <order_settle_price>12300</order_settle_price>
                <settle_daily_price>
                    <currency_code>RMB</currency_code>
                    <exchange_rate>6.9</exchange_rate>
                    <daily_prices>
                        <daily_price_to>
                            <foreign_currency_price>12300</foreign_currency_price>
                            <point>12300</point>
                            <mileage>12300</mileage>
                            <currency_code_name>RMB</currency_code_name>
                            <price>12300</price>
                            <tax_price>12300</tax_price>
                            <break_fast_count>3</break_fast_count>
                            <day>2017-07-19 12:00:00</day>
                            <after_promotion_price>12300</after_promotion_price>
                            <base_price>12300</base_price>
                            <tax_foreign_price>12300</tax_foreign_price>
                            <service_price>12121</service_price>
                            <service_foreign_price>12121</service_foreign_price>
                            <base_foreign_price>1200</base_foreign_price>
                        </daily_price_to>
                    </daily_prices>
                </settle_daily_price>
                <promotion_price>12300</promotion_price>
            </settle_payment>
        </hotel_order_seller>
        <contact_name>张三</contact_name>
        <out_source_corp_name>阿里巴巴</out_source_corp_name>
        <booking_status>1</booking_status>
        <out_order_id>123123</out_order_id>
        <room_type_code>123123</room_type_code>
        <related_code>12311231</related_code>
        <union_status_text>已下单</union_status_text>
        <checkin_date>2017-07-10 18:00:00</checkin_date>
        <top_daily_infos>
            <top_daily_info>
                <price>12300</price>
                <break_fast_count>3</break_fast_count>
                <day>2017-07-19 12:00:00</day>
                <extra_add_price>9000</extra_add_price>
            </top_daily_info>
        </top_daily_infos>
        <room_number>1</room_number>
        <logistics_status_text>待发货</logistics_status_text>
        <confirm_duration>123</confirm_duration>
        <checkout_date>2017-07-10 18:00:00</checkout_date>
        <top_overseas_price_info>
            <currency_code>RMB</currency_code>
            <booking_product_sale_price>12300</booking_product_sale_price>
            <buyer_payment>12300</buyer_payment>
            <tax_price>12300</tax_price>
            <seller_payment>12300</seller_payment>
            <other_fee>12300</other_fee>
            <booking_service_price>12300</booking_service_price>
            <booking_rate>6.9</booking_rate>
            <rate>6.9</rate>
            <book_seller_payment>12300</book_seller_payment>
            <booking_tax_price>12300</booking_tax_price>
            <total_payment>12300</total_payment>
            <checkout_rate>离店汇率</checkout_rate>
            <fund_price>12300</fund_price>
            <settle_product_sale_price>12300</settle_product_sale_price>
            <service_price>12300</service_price>
            <create_order_daily_price>
                <daily_prices>
                    <daily_price_to>
                        <day>2017-07-10 00::00:00</day>
                        <price>12000</price>
                        <break_fast_count>2</break_fast_count>
                        <tax_price>1200</tax_price>
                        <foreign_currency_price>111</foreign_currency_price>
                        <service_price>111</service_price>
                        <tax_foreign_price>12121</tax_foreign_price>
                        <service_foreign_price>12121</service_foreign_price>
                        <base_foreign_price>1200</base_foreign_price>
                        <base_price>1200</base_price>
                    </daily_price_to>
                </daily_prices>
            </create_order_daily_price>
            <booking_rooms_price>1212</booking_rooms_price>
            <settle_order_daily_price>
                <daily_prices>
                    <daily_price_to>
                        <day>2017-09-01 00:00:00</day>
                        <price>1212</price>
                        <break_fast_count>1</break_fast_count>
                        <tax_price>12</tax_price>
                        <foreign_currency_price>1212</foreign_currency_price>
                        <service_price>111</service_price>
                        <tax_foreign_price>122</tax_foreign_price>
                        <service_foreign_price>1212</service_foreign_price>
                        <base_foreign_price>1200</base_foreign_price>
                        <base_price>1200</base_price>
                    </daily_price_to>
                </daily_prices>
            </settle_order_daily_price>
            <rooms_price>1200</rooms_price>
            <base_price>1200</base_price>
            <booking_base_price>1200</booking_base_price>
        </top_overseas_price_info>
        <need_confirm_no>true</need_confirm_no>
        <show_seller_delay_confirm_button>true</show_seller_delay_confirm_button>
        <arrive_late>2017-07-10 18:00:00</arrive_late>
        <contact_phone>12345678900</contact_phone>
        <block_room_order>true</block_room_order>
        <payment>12300</payment>
        <refund_reason>取消</refund_reason>
        <top_promotion>
            <top_create_order_promotion>
                <cash_back_amount>11121</cash_back_amount>
                <seller_decrease>12112</seller_decrease>
                <top_hotel_promotions>
                    <top_hotel_promotion>
                        <consume_mileage>12300</consume_mileage>
                        <rule_desc>描述</rule_desc>
                        <promotion_desc>描述</promotion_desc>
                        <amount>12300</amount>
                        <seller_amount>12300</seller_amount>
                        <times>12300</times>
                        <priority>12300</priority>
                        <tid>12300</tid>
                        <amount_type>默认字符串</amount_type>
                        <activity_icon_desc>默认字符串</activity_icon_desc>
                        <activity_group_name>默认字符串</activity_group_name>
                        <activity_code>默认字符串</activity_code>
                        <discount>12300</discount>
                        <rule_type>12300</rule_type>
                        <rule_target>12300</rule_target>
                        <integral_activity>true</integral_activity>
                        <rule_code>code</rule_code>
                        <activity_name>默认字符串</activity_name>
                        <investor_type>1</investor_type>
                    </top_hotel_promotion>
                </top_hotel_promotions>
                <decrease>2232</decrease>
                <platform_decrease>23232</platform_decrease>
            </top_create_order_promotion>
            <top_current_order_promotion>
                <cash_back_amount>cashBackAmount</cash_back_amount>
                <seller_decrease>12121</seller_decrease>
                <top_hotel_promotions>
                    <top_hotel_promotion>
                        <rule_desc>规则</rule_desc>
                        <investor_type>1</investor_type>
                        <amount>12300</amount>
                        <seller_amount>12300</seller_amount>
                        <times>12300</times>
                        <amount_type>0</amount_type>
                        <activity_code>1</activity_code>
                        <rule_type>12300</rule_type>
                        <rule_target>12300</rule_target>
                        <rule_code>11</rule_code>
                        <activity_name>优惠活动</activity_name>
                    </top_hotel_promotion>
                </top_hotel_promotions>
                <decrease>11212</decrease>
                <platform_decrease>12121</platform_decrease>
            </top_current_order_promotion>
            <top_order_promotion_extend>
                <top_daily_seller_promotions>
                    <top_daily_seller_promotion>
                        <date>1212121</date>
                        <seller_promotion>121</seller_promotion>
                    </top_daily_seller_promotion>
                </top_daily_seller_promotions>
            </top_order_promotion_extend>
        </top_promotion>
        <rid>123123</rid>
        <arrive_early>2017-07-10 18:00:00</arrive_early>
        <sub_type>1</sub_type>
        <total_room_price>31200</total_room_price>
        <out_source>1</out_source>
        <room_type_name>大床房</room_type_name>
        <top_order_guests>
            <top_order_guest>
                <customer_type>12300</customer_type>
                <person_no>12300</person_no>
                <name>张三</name>
                <age>12300</age>
                <room_no>12300</room_no>
            </top_order_guest>
        </top_order_guests>
        <union_status_value>1</union_status_value>
        <invoice_title>阿里巴巴</invoice_title>
        <other_fee>12300</other_fee>
        <memo>备注</memo>
        <logistics_status_value>1</logistics_status_value>
        <pay_status>1</pay_status>
        <guarantee_type>1</guarantee_type>
        <fund_id>1</fund_id>
        <cancel_policy_desc>免费取消</cancel_policy_desc>
        <tag_jsqr>true</tag_jsqr>
        <rate_id>1111</rate_id>
        <tax_and_fee>1200</tax_and_fee>
        <top_domestic_price_info>
            <create_order_daily_price>
                <daily_prices>
                    <daily_price_to>
                        <tax_price>1200</tax_price>
                        <break_fast_count>2</break_fast_count>
                        <price>12399</price>
                        <day>2017-09-06 00:00:00</day>
                        <base_price>1200</base_price>
                        <base_foreign_price>1200</base_foreign_price>
                    </daily_price_to>
                </daily_prices>
            </create_order_daily_price>
            <tax_price>121</tax_price>
            <rooms_price>1212</rooms_price>
            <service_price>121</service_price>
            <other_fee>121</other_fee>
            <booking_rooms_price>212</booking_rooms_price>
            <booking_tax_price>2121</booking_tax_price>
            <booking_service_price>212</booking_service_price>
            <settle_order_daily_price>
                <daily_prices>
                    <daily_price_to>
                        <tax_price>121</tax_price>
                        <break_fast_count>1</break_fast_count>
                        <price>12121</price>
                        <day>2017-09-01 00:00:00</day>
                        <base_price>1200</base_price>
                        <base_foreign_price>1200</base_foreign_price>
                    </daily_price_to>
                </daily_prices>
            </settle_order_daily_price>
            <base_price>1000</base_price>
            <booking_base_price>1000</booking_base_price>
        </top_domestic_price_info>
        <user_real_payment>9900</user_real_payment>
        <gmt_modified>2017-09-01 00:00:00</gmt_modified>
        <vendor>taobao</vendor>
        <credit_card>
            <cvv_code>123121</cvv_code>
            <card_number>123123123231</card_number>
            <expiration_date>07/19</expiration_date>
            <card_code>VA</card_code>
            <card_holder_name>张飞</card_holder_name>
        </credit_card>
        <refund_status>1</refund_status>
        <refund_amout>1200</refund_amout>
        <post_trade_refund>
            <refund_suc_time>2018-01-16 11:00:00</refund_suc_time>
            <remark>正常退款</remark>
            <refund_amount>1100</refund_amount>
            <refund_reason>1</refund_reason>
            <post_trade_refund_type>1</post_trade_refund_type>
            <post_trade_refund_status>1</post_trade_refund_status>
            <create_time>2018-01-16 11:00:00</create_time>
            <tid>123121</tid>
        </post_trade_refund>
        <channel>A</channel>
        <city>100100</city>
        <payment_type>1</payment_type>
        <invoice_status>1</invoice_status>
        <order_source_type>1</order_source_type>
        <top_invoice>
            <provider_type>1</provider_type>
        </top_invoice>
        <refund_reason_type>101</refund_reason_type>
        <max_occupancy>4</max_occupancy>
        <top_order_coupon_d_o>
            <coupon_title>【暑期促销】深圳君悦酒店1-2晚客房含双早套餐享200元SPA抵扣券</coupon_title>
            <coupon_biz_type>113048</coupon_biz_type>
            <coupon_out_biz_id>1995032883688065324</coupon_out_biz_id>
            <can_split>false</can_split>
            <face_value>326500</face_value>
            <room_night_face_value>163250</room_night_face_value>
            <instruction>预约时间:(2021-08-01 00)—— (2021-10-28 00)&lt;br&gt;入住时间:(2021-08-04)—— (2021-10-31)&lt;br&gt;不可入住时间:(2021-08-04)—— (2021-10-31)内,星期(1)不可入住&lt;br&gt;请在入住前至少提前3天预约&lt;br&gt;加价说明:&lt;br&gt;线上加价:2021-08-01 —— 2021-09-18时间范围内星期(1,2,3,4)入住需要加价400.00元,请在预约提交订单后支付,入住时无需再次支付&lt;br&gt;线上加价:2021-09-22 —— 2021-09-30时间范围内星期(1,2,3,4)入住需要加价400.00元,请在预约提交订单后支付,入住时无需再次支付&lt;br&gt;线上加价:2021-10-08 —— 2021-10-31时间范围内星期(1,2,3,4)入住需要加价400.00元,请在预约提交订单后支付,入住时无需再次支付</instruction>
        </top_order_coupon_d_o>
        <promotion>
            <current_order_promotion>
                <daily_hotel_promotion>{1624982400000:{\&quot;amount\&quot;:1500,},1625068800000:{\&quot;amount\&quot;:1500}}</daily_hotel_promotion>
                <seller_decrease>3000</seller_decrease>
            </current_order_promotion>
        </promotion>
        <rp_ori_name>君悦客双床1晚x午/晚餐x礼遇1188x</rp_ori_name>
    </top_order_detail>
    <error>error</error>
</xhotel_order_detail_search_response>

异常示例

  • XML示例
  • JSON示例
1
2
3
4
5
6
<error_response>
    <code>50</code>
    <msg>Remote service error</msg>
    <sub_code>isv.invalid-parameter</sub_code>
    <sub_msg>非法参数</sub_msg>
</error_response>

错误码解释

错误码 错误描述 解决方案
ORDER_NOT_EXIST 查询的订单不存在 查询存在的订单

API工具

如何获得此API

FAQ

返回
顶部