订单API> 订单新订确认New order confirmation

接口说明 Interface description

提供方:携程

调用方: 供应商

当订单在新订提交后供应商需异步确认进行操作(接受、拒绝),可通过此接口回传供应商的最终确认结果给到携程。不接受同批次的新订推送多次不同操作(接受、拒绝)结果给到携程。

Provider: ctrip

Caller: supplier

When new order places, supplier operates new order after asynchronous confirmation (acception/rejection), the final confirmation result will be returned to Ctrip through this interface. Ctrip does not accept multiple operations(acception/rejection) from the same batch.

{
	"header": {
		"accountId": "supplier001",
		"serviceName": "CreateOrderConfirm",
		"requestTime": "2017-01-05 10:00:00",
		"version": "1.0",
		"sign": "d928d3fefa3b954727ce7b039991e2fb"
	},
	"body": {
		"sequenceId": "20171010abcd95774f17c3e354e73f7aaf21b5ec",
		"otaOrderId": "123456",
		"supplierOrderId": "100001",
		"confirmResultCode": "0000",
		"confirmResultMessage": "确认信息",
		"voucherSender": 1,
		"vouchers": [{
			"itemId": "123456",
			"voucherType": 1,
			"voucherCode": "123456",
			"voucherData": ""
		}],
		"items": [{
			"itemId": "123456",
			"inventorys": [{
				"useDate": "2017-02-04",
				"quantity": 0
			}]
		}]
	}
}
          
{
	"header": {
		"resultCode": "0000",
		"resultMessage": "操作成功"
	}
}
          

携程接口返回码The return code of Ctrip's interface