订单API> 订单查询Order inquiry

接口说明 Interface description

提供方:供应商

调用方: 携程

携程可以根据供应商提供的查询接口获取供应商订单处理的具体状态、使用情况等信息。

Provider: supplier

Caller: ctrip

Ctrip can use the inquiry interface of supplier to obtain the specific order status, usage information,etc.

{
	"header": {
		"accountId": "xiecheng",
		"serviceName": "QueryOrder",
		"requestTime": "2017-01-05 10:00:00",
		"version": "1.0",
		"sign": "fe1e9e3b450ab5eeba05f864acf1d7fa"
	},
	"body": {
		"sequenceId": "20171010abcd95774f17c3e354e73f7aaf21b5ec",
		"otaOrderId": "123456",
		"supplierOrderId": "10001"
	}
}
          
{
	"header": {
		"resultCode": "0000",
		"resultMessage": "查询成功"
	},
	"body": {
		"otaOrderId": "123456",
		"supplierOrderId": "100001",
		"items": [{
			"itemId": "123456",
			"useStartDate": "2017-02-04",
			"useEndDate": "2017-02-04",
			"orderStatus": 1,
			"quantity": 1,
			"useQuantity": 1,
			"cancelQuantity": 0
		}]
	}
}
          

供应商接口返回码The returne code of supplier's interface

订单状态Order status