查询WFS库存列表 - v2
POST
/basicOpen/multiplatform/wfs/stockSearch/v2该接口对应系统界面新版WFS库存。
接口信息
| API Path | 请求协议 | 请求方式 | 令牌桶容量 |
|---|---|---|---|
/ | HTTPS | POST | 10 |
请求参数
store_idarray<any>必填offsetintegerlengthintegerwarehouseListarray<any>goodStatusListarray<any>hideZeroStorageintegercustomobject隐藏子属性显示子属性3 个子字段
typeintegerlikeContentstringinContentListarray<any>qtyRangearray<object>隐藏子属性显示子属性3 个子字段
typestringminstringmaxstringnumericRangesarray<object>隐藏子属性显示子属性3 个子字段
typestringminstringmaxstringselectTypeEnumstringorderColumnTypestringorderWayintegercustomerFavoritebooleandateFieldstringstartDatestringendDatestringitemLifecyclesarray<any>stockStatusesarray<any>请求示例
{
"store_id": [
"110418202566107648"
],
"offset": 0,
"length": 15
}
筛选请求示例
{
"store_id": [
"110418202566107648"
],
"offset": 0,
"length": 15,
"custom": {
"type": 8,
"likeContent": "墨盒"
},
"customerFavorite": true,
"itemLifecycles": [
"Active"
],
"stockStatuses": [
"In-stock"
],
"qtyRange": [
{
"type": "onhandQuantity",
"min": "0",
"max": "100"
}
],
"dateField": "inventoryUpdatedTime",
"startDate": "2026-11-01",
"endDate": "2026-11-19",
"orderColumnType": "onhandQuantity",
"orderWay": 0
}
返回结果
Json Object
codeinteger必填messagestring必填error_detailsarray<any>必填request_idstring必填response_timestring必填dataobject必填隐藏子属性显示子属性4 个子字段
recordsarray<object>必填隐藏子属性显示子属性46 个子字段
ats03_monthsstring必填ats1_yearsstring必填ats36_monthsstring必填ats69_monthsstring必填ats912_monthsstring必填available_quantitystring必填gtinstring必填inbound_quantitystring必填item_idstring必填platform_product_statusstring必填mskustring必填pidstring必填product_namestring必填skustring必填quantitystring必填store_idstring必填store_namestring必填warehouse_namestring必填warehouse_unique_idstring必填pic_urlstring必填availableQuantityV2string必填customerFavoriteboolean必填damagedQuantitystring必填daysOfSupplystring必填firstInStockDatestring必填inventoryMovementQuantityinteger必填inventoryReviewQuantityinteger必填inventoryUpdatedTimestring必填itemLifecyclestring必填itemNamestring必填last30DaysPoUnitsstring必填last30DaysUnitsReceivedstring必填onhandQuantityinteger必填outOfStockDatestring必填productUniqueIdstring必填purchasePricestring必填reservedQuantityinteger必填salesForecastWeek1to4string必填salesForecastWeek5to8string必填salesForecastWeek9to12string必填sellThroughRatestring必填stockStatusstring必填storeSiteinteger必填suggestedUnitsinteger必填surplusUnitsinteger必填unabledWarehousingQuantitystring必填totalstring必填stockTotalobject必填隐藏子属性显示子属性13 个子字段
ats03Monthsstring必填ats1Yearsstring必填ats36Monthsstring必填ats69Monthsstring必填ats912Monthsstring必填availableQuantitystring必填inboundQuantitystring必填quantitystring必填availableQuantityV2string必填damagedQuantitystring必填last30DaysPoUnitsstring必填last30DaysUnitsReceivedstring必填unabledWarehousingQuantitystring必填syncTimestring必填返回成功示例
{
"code": 0,
"message": "success",
"error_details": [],
"request_id": "1979122130ba45e984cbc9b2e571d86f.1690513512438",
"response_time": "2023-07-28 11:05:12",
"data": {
"total": "21",
"records": [
{
"msku": "ast6-purple-xl-du00",
"gtin": "00462301111",
"pid": "5764",
"sku": "wjc14_sku",
"quantity": "15",
"store_id": "110000000018008005",
"store_name": "walmart测试店铺",
"warehouse_unique_id": "90133779222911",
"warehouse_name": "walmart测试店铺05号加拿大仓",
"item_id": "230161371",
"product_name": "wjc14_pm",
"platform_product_status": "在售",
"available_quantity": "13",
"inbound_quantity": "2",
"ats03_months": "3",
"ats36_months": "4",
"ats69_months": "5",
"ats912_months": "6",
"ats1_years": "7",
"pic_url": "https://imagxxx/xxxx/5dc111.jpeg",
"availableQuantityV2": "12",
"customerFavorite": false,
"damagedQuantity": "2",
"daysOfSupply": "Over 50",
"firstInStockDate": "2026-11-01",
"inventoryMovementQuantity": 3,
"inventoryReviewQuantity": 2,
"inventoryUpdatedTime": null,
"itemLifecycle": "Active",
"itemName": "原装黑色墨盒",
"last30DaysPoUnits": "20",
"last30DaysUnitsReceived": "15",
"onhandQuantity": 15,
"outOfStockDate": "2026-11-24",
"productUniqueId": "901337792229298176",
"purchasePrice": "10.50",
"reservedQuantity": 2,
"salesForecastWeek1to4": "12",
"salesForecastWeek5to8": "10",
"salesForecastWeek9to12": "8",
"sellThroughRate": null,
"stockStatus": "In-stock",
"storeSite": 1,
"suggestedUnits": 10,
"surplusUnits": 2,
"unabledWarehousingQuantity": "2"
}
],
"stockTotal": {
"ats03Months": "2",
"ats1Years": "2",
"ats36Months": "2",
"ats69Months": "3",
"ats912Months": "2",
"availableQuantity": "4",
"inboundQuantity": "13",
"quantity": "15",
"availableQuantityV2": "12",
"damagedQuantity": "2",
"last30DaysPoUnits": "20",
"last30DaysUnitsReceived": "15",
"unabledWarehousingQuantity": "2"
},
"syncTime": null
}
}
返回失败示例
{
"code": 1,
"message": "参数检验不通过",
"error_details": ["length: length 最大值200"],
"request_id": "f4044649b1be46398c7eb4e6eb6ab6d5.1684735739946",
"response_time": "2023-05-22 14:08:59",
"data": null
}