- 开发者必读
- 授权
- 基础资料
- 商品
- 入库
- 订单
- 库存
- 换单
- 退货
- 订阅
- 费用
库存列表
POST
/api/openPlatform/stock/list
请求参数
Header 参数
Authorization
string
必需
默认值:
Bearer {{token}}
Content-Type
string
必需
默认值:
application/json
Body 参数application/json
warehouseCode
string
仓库code
customerSku
array[string]
客户sku
prePage
integer
每页显示的条数
page
integer
当前页
示例
{
"warehouseCode": "001",
"page": 1,
"prePage": 20,
"customerSku": [
"MA015001",
"MA019002"
]
}
返回响应
🟢200成功
application/json
Body
state
string
状态码
msg
string
消息
data
object
返回数据
list
array [object {17}]
必需
total
integer
总数
prePage
integer
当前页显示的条数
page
integer
当前页
示例
{
"state": "000001",
"msg": "请求成功",
"data": {
"list": [
{
"warehouseCode": "001",
"siteCode": "MY",
"customerSku": "Albert",
"customerSkuName": "御用测试商品-备用",
"prepare": 18,
"transfer": 0,
"waitShelf": 4,
"inventory": 529,
"occupy": 0,
"unshipped": 31,
"available": 515,
"statusDes": "禁用",
"isLockDes": "正常"
}
],
"total": 1,
"page": 1,
"prePage": 20
}
}
修改于 2025-05-19 09:25:16