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

接口说明 Interface description

提供方:携程

调用方: 供应商

库存同步接口,提供日期级别库存模式更新,最多接收90天数据库存同步小于100次/分钟,同一资源更新频率大于1次/分钟

Provider: ctrip

Caller: supplier

Inventory synchronization interface, providing date level inventory mode update, receiving up to 90 days of data inventory synchronization less than 100 times / minute, the same resource update frequency is greater than 1 time / minute.

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

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