订单API> 订单修改Order modify

接口说明 Interface description

提供方:供应商

调用方: 携程

当客人需要修改订单信息,需要提供该接口。目前仅支持修改出行日期。

供应商接口返回码:务必优先匹配携程提供的标准错误码,并返回真实的失败原因(重要)。

Provider: supplier

Caller: ctrip

This interface is provided if the customer is modify this order. Currently only supports modification of use dates.

The returne code of supplier's interface: Be sure to match the standard error code provided by Ctrip first, and return the real failure reason (Important).

{
	"header":{
		"accountId":"xiecheng",
		"serviceName":"EditOrder",
		"requestTime":"2018-10-10 10:00:00",
		"version":"1.0",
		"sign":"374d95774f17c3e354e73f7aaf21b5ec"
	},
	"body":{
                "sequenceId":"20171010abcd95774f17c3e354e73f7aaf21b5ec",
                "otaOrderId":"123456",
                "supplierOrderId":"10001",
                "items":[{
                        "itemId":"123456",
                        "originUseStartDate":"2018-10-01",
                        "targetUseStartDate":"2018-10-01",
                        "originUseEndDate":"2018-10-10",
                        "targetUseEndDate":"2018-10-20"
                }]
	}
}
          
{
	"header":{
		"resultCode":"0000",
		"resultMessage":"修改成功"
	},
	"body":{
                "supplierConfirmType":1,
                 "items":[{
                      "itemId":"123456"
                }]
	}
}
          

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