文档中心 > API类目 > 飞猪商家平台

alitrip.merchant.galaxy.order.query.info (订单详情改版)

订单页详情查询

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
tenant_key String 必须 111 租户ID
token String 必须 111 用户token
order_id String 必须 111 订单ID

响应参数

名称 类型 示例值 描述
result Response 11 结果
  • └ success
  • Boolean
  • true
  • 是否成功
  • └ error_code
  • String
  • 00000
  • 错误代码
  • content
  • VoucherOrderDetailVO
  • 11
  • 订单详情页对象
  • voucher_order
  • VoucherOrderVO
  • 11
  • 套餐订单详情信息
  • └ order_id
  • String
  • 8120973148723281920
  • 订单编号
  • └ pms_code
  • String
  • 5554VIE510
  • PMS订单号
  • └ order_status
  • String
  • 5
  • 订单状态
  • └ order_status_desc
  • String
  • 您的预订已取消,如有需要请重新进行预订
  • 订单状态描述
  • └ pay_remain_time
  • Number
  • 4500
  • 支付剩余多少秒
  • └ book_date
  • String
  • 2021-08-31 17:11:48
  • 预订时间
  • └ payment_channel
  • String
  • AP_WECHAT
  • 支付渠道
  • └ pay_type
  • Number
  • 1
  • 支付类型
  • └ total_price
  • String
  • 991.10
  • 总价格
  • └ currency
  • String
  • CNY
  • 货币类型
  • └ refund_cost_amount
  • String
  • 991.10
  • 扣款价格
  • └ breakfast_type
  • String
  • 无早餐
  • 早餐类型
  • └ breakfast_dec
  • String
  • 此价格不含早餐
  • 早餐描述
  • └ contact_last_name
  • String
  • qiao
  • 订单人姓
  • └ contact_first_name
  • String
  • feixiang
  • 订单人名
  • └ contact_phone
  • String
  • 18236529339
  • 订单人电话
  • └ contact_email
  • String
  • 17929@qq.com
  • 订单人邮箱
  • └ voucher_name
  • String
  • 亲子乐活豪华城景客房套餐亲子乐活豪华城景客房套餐亲子乐
  • 套餐卷名字
  • └ place_order_type
  • String
  • VOUCHER
  • 下单方式
  • └ voucher_id
  • String
  • 12324r3464564523
  • 套餐卷Id
  • └ area_code
  • String
  • 86
  • 区号
  • guest_by_room
  • GuestByRoomDto []
  • 11
  • 订单入住宾客信息
  • └ contact_first_name
  • String
  • feix
  • 联系人姓名
  • └ child_roomer_number
  • Number
  • 0
  • 未成年人数
  • └ contact_last_name
  • String
  • qiao
  • 联系人姓氏
  • └ adult_roomer_number
  • String
  • 1
  • 成人数
  • voucher_hotel
  • VoucherHotelVO
  • 11
  • 酒店详情信息
  • └ hotel_id
  • String
  • 5554
  • 租户酒店ID
  • └ shid
  • Number
  • 10023179
  • 外部酒店id
  • └ hotel_name
  • String
  • 杭州索菲特西湖大酒店
  • 酒店名
  • └ hotel_phone
  • String
  • 0086#0571#87075858
  • 酒店电话
  • └ hotel_picture
  • String
  • https://fm-unicorn-hotel.oss-cn-beijing.aliyuncs.com/10006373010/hotel/5554/%E5%A4%96%E8%A7%82/O1CN01Z6I2EC1d5JlcjVxjP_%21%216000000003684-0-hotel.jpg
  • 酒店图片
  • └ hotel_address
  • String
  • 西湖大道333号近 南山路(近西湖,雷峰塔,中国美院,南山路,河坊街)
  • 酒店位置
  • └ lon
  • String
  • 120.161686
  • 经度
  • └ lat
  • String
  • 30.245586
  • 维度
  • └ room_number
  • Number
  • 1
  • 房间数量
  • └ check_in_notice
  • String
  • 杭州索菲特西湖大酒店位于西湖大道,绝美西湖,一步之遥;中国美院,一墙之隔;风情南山 ,一目之间。酒店坐拥180度露天西湖美景,空中花园举目可眺宝石流霞、雷锋夕照、断桥残雪、吴山天风、三潭印月。酒店迎来送往,体贴入微,以特色的法式问候,优雅的着装尽显法兰西浪漫与西子湖柔情的完美结合。酒店拥有两百余间舒适的客房,配备浪凡或爱马仕洗浴用品,办公文具齐全,迷你吧供应多种国际品牌产品。行政酒廊的法式风情配上可俯视西湖秀丽山水的露台。酒店拥有共计809平方米的6个多功能会议室;灵感会议团队将为您提供优质、全面的服务;在香榭丽餐厅里您可以尽情享受美味的馅饼、优雅的芝士礼节及非凡的葡萄酒体验;涌金阁中餐厅以地道美味的杭帮菜而著称;全新打造西湖厅是西湖之畔较高的宴会厅,适合举办各类宴会、会议及婚礼;钻石露台,是公司聚会、举办鸡尾酒会与烧烤的上佳场所;埃菲尔酒吧令您完全置身于一个心旷神怡的舒适天地里。
  • 入住须知
  • └ cancel_rule
  • Number
  • 1
  • 取消规则
  • └ cancel_dec
  • String
  • 2021-09-15 18:00前免费取消预订#2021-09-16 00:00前取消,扣取1晚房价#2021-09-14 18:00后取消,请联系酒店处理
  • 取消描述
  • └ check_in_date
  • String
  • 2021-09-15 周三
  • 入住时间
  • └ days
  • Number
  • 1
  • 入住天数
  • └ check_out_date
  • String
  • 2021-09-16 周四
  • 离店时间
  • hotel_facility_list_v_o_list
  • FacilityListVO []
  • 11
  • 房型设施
  • └ facility_name
  • String
  • 餐饮服务
  • 设施类型名称
  • facility_list
  • FacilityVO []
  • 11
  • 设施Vo对象
  • └ summary
  • String
  • 11
  • 文案表达
  • └ icon
  • String
  • https://fm-unicorn-hotel.oss-cn-beijing.aliyuncs.com/10006373010/facility/%E9%80%81%E9%A4%90%E6%9C%8D%E5%8A%A1.png
  • 设施图标URL
  • └ name
  • String
  • 送餐服务
  • 设施名字
  • └ description
  • String
  • 11
  • 补充说明
  • └ id
  • Number
  • 63
  • 设施Id
  • room
  • Room
  • 11
  • 酒店内房型信息
  • └ room_name
  • String
  • 高级大床房
  • 房型名称
  • └ rp_name
  • String
  • 首住优惠+无早餐
  • 价格定义名
  • └ room_area
  • String
  • 35
  • 房间面积大小
  • └ bed_type_desc
  • String
  • bed_type_desc
  • 房间床型描述
  • └ max_check_in_number
  • Number
  • 2
  • 房型最大入住人数
  • └ check_in
  • String
  • 12:00前离店
  • 最早入住时间
  • └ check_out
  • String
  • 14:00后入住
  • 最晚离店时间
  • └ city_code
  • Number
  • 1234567
  • 城市code
  • └ limit_date
  • String
  • 2021-09-15 18:00
  • 限制时间
  • price_detail_dto
  • VoucherHotelVO
  • 11
  • 费用明细对象
  • └ room_num
  • Number
  • 1
  • 房间数量
  • └ days
  • Number
  • 1
  • 入住天数
  • └ currency
  • String
  • CNY
  • 货币类型
  • daily_prices
  • DailyPrice []
  • 11
  • 日期以及价格
  • └ date
  • String
  • 2021-09-15 00:00:00
  • 日期
  • └ really_price
  • String
  • 850.00
  • 不含税价格
  • └ out_really_price
  • String
  • 950.00
  • 不含税外币价格
  • └ total_room_price
  • String
  • 850.00
  • 总房价(不含税)
  • └ total_tax
  • String
  • 141.10
  • 总税价
  • └ total_price
  • String
  • 991.10
  • 总费用(税费+房价)
  • └ spread
  • Number
  • 100
  • 差价
  • └ markup_desc
  • String
  • 已使用套餐券抵扣全部房费
  • 加价描述
  • foreign_currency
  • ForeignCurrencyInfo
  • 外币信息
  • └ total_amount
  • String
  • 111.68
  • 外币支付金额,含税
  • └ total_price
  • String
  • 100.60
  • 外币基础价格,不包含税费等
  • └ total_tax
  • String
  • 11.08
  • 外币总税价
  • daily_price_list
  • DailyPrice []
  • 外币每日价格
  • └ date
  • String
  • 2021-12-31 00:00:00
  • 日期
  • └ really_price
  • String
  • 168.00
  • 不含税价格
  • └ out_really_price
  • String
  • 201.56
  • 不含税外币价格
  • └ currency
  • String
  • HKD
  • 外币币种
  • └ foreign_currency_payment
  • Boolean
  • false
  • 是否为外币支付
  • order_room_detail
  • PriceDetailDto
  • 11
  • 房间信息详情
  • └ room_name
  • String
  • 高级大床房
  • 房型名称
  • └ rp_name
  • String
  • 首住优惠+无早餐
  • 夏季限时优惠信息
  • └ pics
  • String []
  • 11
  • 房型图片集合
  • facility_group_list
  • FacilityListVO []
  • 11
  • 房型设施
  • facility_list
  • FacilityVO []
  • 11
  • 设施Vo对象
  • └ summary
  • String
  • 11
  • 文案表达
  • └ icon
  • String
  • https://fm-unicorn-hotel.oss-cn-beijing.aliyuncs.com/10006373010/facility/%E9%80%81%E9%A4%90%E6%9C%8D%E5%8A%A1.png
  • 设施图标URL
  • └ name
  • String
  • 送餐服务
  • 设施名字
  • └ description
  • String
  • 11
  • 补充说明
  • └ id
  • Number
  • 63
  • 设施Id
  • └ facility_name
  • String
  • 餐饮服务
  • 设施类型名称
  • room_property
  • DailyPrice
  • 11
  • 房间属性
  • └ area
  • String
  • 35㎡
  • 面积
  • └ bed_type_icon
  • String
  • 11
  • 床型图标
  • └ max_occupancy_icon
  • String
  • 11
  • 入住人数图标
  • └ max_occupancy
  • Number
  • 2
  • 最大入住人数
  • └ floor
  • String
  • 2-4
  • 楼层
  • └ floor_icon
  • String
  • 11
  • 楼层图标
  • └ area_icon
  • String
  • 11
  • 面积图标
  • └ window_type_icon
  • String
  • 11
  • 床型图标
  • └ window_type
  • String
  • 有窗
  • 窗型
  • derby_voucher_info
  • DerbyVoucherInfo
  • 权益商品相关展示信息
  • └ category
  • String
  • ROOM_DISCOUNT
  • 权益券类型
  • └ discount_off
  • Number
  • 30
  • 折扣百分比
  • └ member_voucher_card_id
  • String
  • 123456789980
  • 权益卡卡号
  • └ member_voucher_id
  • String
  • 609876543243567
  • 权益券id
  • └ long_des
  • String
  • 1.绝对不意气用事2.绝对不漏判任何一件坏事3.绝对裁判的公正漂亮
  • 权益券使用限制描述
  • └ qr_code_i_d_image
  • String
  • dhsjnkf32858nkjnfwosolc
  • 权益卡身份码
  • └ error_msg
  • String
  • SUCCESS
  • 错误信息展示

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlitripMerchantGalaxyOrderQueryInfoRequest req = new AlitripMerchantGalaxyOrderQueryInfoRequest();
req.setTenantKey("111");
req.setToken("111");
req.setOrderId("111");
AlitripMerchantGalaxyOrderQueryInfoResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alitrip_merchant_galaxy_order_query_info_response>
    <result>
        <success>true</success>
        <error_code>00000</error_code>
        <content>
            <voucher_order>
                <order_id>8120973148723281920</order_id>
                <pms_code>5554VIE510</pms_code>
                <order_status>5</order_status>
                <order_status_desc>您的预订已取消,如有需要请重新进行预订</order_status_desc>
                <pay_remain_time>4500</pay_remain_time>
                <book_date>2021-08-31 17:11:48</book_date>
                <payment_channel>AP_WECHAT</payment_channel>
                <pay_type>1</pay_type>
                <total_price>991.10</total_price>
                <currency>CNY</currency>
                <refund_cost_amount>991.10</refund_cost_amount>
                <breakfast_type>无早餐</breakfast_type>
                <breakfast_dec>此价格不含早餐</breakfast_dec>
                <contact_last_name>qiao</contact_last_name>
                <contact_first_name>feixiang</contact_first_name>
                <contact_phone>18236529339</contact_phone>
                <contact_email>17929@qq.com</contact_email>
                <voucher_name>亲子乐活豪华城景客房套餐亲子乐活豪华城景客房套餐亲子乐</voucher_name>
                <place_order_type>VOUCHER</place_order_type>
                <voucher_id>12324r3464564523</voucher_id>
                <area_code>86</area_code>
            </voucher_order>
            <guest_by_room>
                <guest_by_room_dto>
                    <contact_first_name>feix</contact_first_name>
                    <child_roomer_number>0</child_roomer_number>
                    <contact_last_name>qiao</contact_last_name>
                    <adult_roomer_number>1</adult_roomer_number>
                </guest_by_room_dto>
            </guest_by_room>
            <voucher_hotel>
                <hotel_id>5554</hotel_id>
                <shid>10023179</shid>
                <hotel_name>杭州索菲特西湖大酒店</hotel_name>
                <hotel_phone>0086#0571#87075858</hotel_phone>
                <hotel_picture>https://fm-unicorn-hotel.oss-cn-beijing.aliyuncs.com/10006373010/hotel/5554/%E5%A4%96%E8%A7%82/O1CN01Z6I2EC1d5JlcjVxjP_%21%216000000003684-0-hotel.jpg</hotel_picture>
                <hotel_address>西湖大道333号近 南山路(近西湖,雷峰塔,中国美院,南山路,河坊街)</hotel_address>
                <lon>120.161686</lon>
                <lat>30.245586</lat>
                <room_number>1</room_number>
                <check_in_notice>杭州索菲特西湖大酒店位于西湖大道,绝美西湖,一步之遥;中国美院,一墙之隔;风情南山 ,一目之间。酒店坐拥180度露天西湖美景,空中花园举目可眺宝石流霞、雷锋夕照、断桥残雪、吴山天风、三潭印月。酒店迎来送往,体贴入微,以特色的法式问候,优雅的着装尽显法兰西浪漫与西子湖柔情的完美结合。酒店拥有两百余间舒适的客房,配备浪凡或爱马仕洗浴用品,办公文具齐全,迷你吧供应多种国际品牌产品。行政酒廊的法式风情配上可俯视西湖秀丽山水的露台。酒店拥有共计809平方米的6个多功能会议室;灵感会议团队将为您提供优质、全面的服务;在香榭丽餐厅里您可以尽情享受美味的馅饼、优雅的芝士礼节及非凡的葡萄酒体验;涌金阁中餐厅以地道美味的杭帮菜而著称;全新打造西湖厅是西湖之畔较高的宴会厅,适合举办各类宴会、会议及婚礼;钻石露台,是公司聚会、举办鸡尾酒会与烧烤的上佳场所;埃菲尔酒吧令您完全置身于一个心旷神怡的舒适天地里。</check_in_notice>
                <cancel_rule>1</cancel_rule>
                <cancel_dec>2021-09-15 18:00前免费取消预订#2021-09-16 00:00前取消,扣取1晚房价#2021-09-14 18:00后取消,请联系酒店处理</cancel_dec>
                <check_in_date>2021-09-15 周三</check_in_date>
                <days>1</days>
                <check_out_date>2021-09-16 周四</check_out_date>
                <hotel_facility_list_v_o_list>
                    <facility_list_v_o>
                        <facility_name>餐饮服务</facility_name>
                        <facility_list>
                            <facility_v_o>
                                <summary>11</summary>
                                <icon>https://fm-unicorn-hotel.oss-cn-beijing.aliyuncs.com/10006373010/facility/%E9%80%81%E9%A4%90%E6%9C%8D%E5%8A%A1.png</icon>
                                <name>送餐服务</name>
                                <description>11</description>
                                <id>63</id>
                            </facility_v_o>
                        </facility_list>
                    </facility_list_v_o>
                </hotel_facility_list_v_o_list>
                <room>
                    <room_name>高级大床房</room_name>
                    <rp_name>首住优惠+无早餐</rp_name>
                    <room_area>35</room_area>
                    <bed_type_desc>bed_type_desc</bed_type_desc>
                    <max_check_in_number>2</max_check_in_number>
                </room>
                <check_in>12:00前离店</check_in>
                <check_out>14:00后入住</check_out>
                <city_code>1234567</city_code>
                <limit_date>2021-09-15 18:00</limit_date>
            </voucher_hotel>
            <price_detail_dto>
                <room_num>1</room_num>
                <days>1</days>
                <currency>CNY</currency>
                <daily_prices>
                    <daily_price>
                        <date>2021-09-15 00:00:00</date>
                        <really_price>850.00</really_price>
                        <out_really_price>950.00</out_really_price>
                    </daily_price>
                </daily_prices>
                <total_room_price>850.00</total_room_price>
                <total_tax>141.10</total_tax>
                <total_price>991.10</total_price>
                <spread>100</spread>
                <markup_desc>已使用套餐券抵扣全部房费</markup_desc>
                <foreign_currency>
                    <total_amount>111.68</total_amount>
                    <total_price>100.60</total_price>
                    <total_tax>11.08</total_tax>
                    <daily_price_list>
                        <daily_price>
                            <date>2021-12-31 00:00:00</date>
                            <really_price>168.00</really_price>
                            <out_really_price>201.56</out_really_price>
                        </daily_price>
                    </daily_price_list>
                    <currency>HKD</currency>
                </foreign_currency>
                <foreign_currency_payment>false</foreign_currency_payment>
            </price_detail_dto>
            <order_room_detail>
                <room_name>高级大床房</room_name>
                <rp_name>首住优惠+无早餐</rp_name>
                <pics>
                    <string>11</string>
                </pics>
                <facility_group_list>
                    <facility_list_v_o>
                        <facility_list>
                            <facility_v_o>
                                <summary>11</summary>
                                <icon>https://fm-unicorn-hotel.oss-cn-beijing.aliyuncs.com/10006373010/facility/%E9%80%81%E9%A4%90%E6%9C%8D%E5%8A%A1.png</icon>
                                <name>送餐服务</name>
                                <description>11</description>
                                <id>63</id>
                            </facility_v_o>
                        </facility_list>
                        <facility_name>餐饮服务</facility_name>
                    </facility_list_v_o>
                </facility_group_list>
                <room_property>
                    <area>35㎡</area>
                    <bed_type_icon>11</bed_type_icon>
                    <max_occupancy_icon>11</max_occupancy_icon>
                    <max_occupancy>2</max_occupancy>
                    <floor>2-4</floor>
                    <floor_icon>11</floor_icon>
                    <area_icon>11</area_icon>
                    <window_type_icon>11</window_type_icon>
                    <window_type>有窗</window_type>
                </room_property>
            </order_room_detail>
            <derby_voucher_info>
                <category>ROOM_DISCOUNT</category>
                <discount_off>30</discount_off>
                <member_voucher_card_id>123456789980</member_voucher_card_id>
                <member_voucher_id>609876543243567</member_voucher_id>
                <long_des>1.绝对不意气用事2.绝对不漏判任何一件坏事3.绝对裁判的公正漂亮</long_des>
                <qr_code_i_d_image>dhsjnkf32858nkjnfwosolc</qr_code_i_d_image>
            </derby_voucher_info>
        </content>
        <error_msg>SUCCESS</error_msg>
    </result>
</alitrip_merchant_galaxy_order_query_info_response>

异常示例

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

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部