订单API> 订单核销通知Order consumed notification

接口说明 Interface description

提供方:携程

调用方: 供应商

当订单在新订确认后,供应商可将客人出行后的使用情况或归还物品等信息调用该接口将对应的最终结果同步给携程系统,例如门票的入园使用结果、Wi-Fi等租赁类还件操作。

Provider: ctrip

Caller: supplier

After the order is confirmed, suppliers can call the interface throughguest’s using condition or returned items after the trip, the final results will be returned to Ctrip’s system by suppliers. For example, the admission result, Wi-Fi and other rental operations.

{
	"header": {
		"accountId": "supplier001",
		"serviceName": "OrderConsumedNotice",
		"requestTime": "2017-01-05 10:00:00",
		"version": "1.0",
		"sign": "32dd4207b998e019a7f4306721b83887"
	},
	"body": {
		"sequenceId": "20171010abcd95774f17c3e354e73f7aaf21b5ec",
		"otaOrderId": "123456",
		"supplierOrderId": "100001",
		"items": [{
			"itemId": "123456",
			"useStartDate": "2017-02-04",
			"useEndDate": "2017-02-04",
			"quantity": 1,
			"useQuantity": 1,
			"remark": "备注信息",
			"discount": {
				"policyList": [{
					"date": "2018-01-16",
					"quantity": 1
				}]
			},
			"lostAmount": 500,
			"lostAmountCurrency": ""
		}]
	}
}
          
{
	"header": {
		"resultCode": "0000",
		"resultMessage": "操作成功"
	}
}
          

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