价格库存API> 资源日期价格同步接口

接口说明 Interface description

提供方:携程

调用方: 供应商

价格同步接口,以天为单位更新资源的价格,最多接收90天数据价格同步小于100次/分钟,同一资源更新频率大于1次/分钟

Provider: ctrip

Caller: supplier

Price synchronization interface, the price of the resource is updated in days, the maximum receiving 90 days data price synchronization is less than 100 times / minute, the same resource update frequency is greater than 1 time / minute.

{
	"header": {
		"accountId": "xiecheng",
		"serviceName": "DatePriceModify",
		"requestTime": "2017-01-05 10:00:00",
		"version": "1.0",
		"sign": "374d95774f17c3e354e73f7aaf21b5ec"
	},
	"body": {
		"sequenceId": "20171010abcd95774f17c3e354e73f7aaf21b5ec",
		"otaOptionId": "568898",
		"supplierOptionId": "568898",
		"prices": [{
			"date": "2018-12-12",
			"marketPrice": 150,
			"salePrice": 120,
			"costPrice": 100
		}]
	}
}
          
{
	"header": {
		"resultCode": "0000",
		"resultMessage": "接收成功"
	}
}
          

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