https://alidocs.dingtalk.com/i/nodes/oP0MALyR8k7y4Br5hQx01XXP83bzYmDO?doc_type=wiki_doc
需求背景:GetProductInventoryInfo接口存在严重性能问题,服务无法正常获取到数据并打挂erp库,导致影响智能备货服务库存基础数据准确性,故需提供新的海外仓在仓+在途接口进行切换。
需求内容:
提供新的海外仓在仓+在途库存接口,数据口径与GetProductInventoryInfo接口一致,不变。出入参如下:
-入参:
{
"Input": {
"customerId": 1,
"wareHouseType": 2,
"skuList": [
"17025754",
"17025755"
]
}
}
-出参:
{
"data": [
{
"sku": "9671729",
"orderSourceSKU": "X114805KFC7C57H",
"wareHouseType": 60,
"wareHouseID": 15660,
"wareHouseName": "盛宝隆一部墨西哥仓",
"wareHouseCountry": "MX",
"processingNum": 0,
"transitNum": 13,
"goodNum": 0,
"lockNum": 0,
"itemCode": "",
"orderSourceID": 13926,
"warehouseProductID": 9639416,
"orderListID": 0,
"stockType": 0
}
],
"status": "success",
"message": "成功"
}