库存列表
POST
/api/openPlatform/stock/list请求参数
Body 参数application/json
warehouseCode
string
仓库code
customerSku
array[string]
客户sku
限制:1-100
prePage
integer
每页显示的条数
默认15
page
integer
当前页
默认1
示例
{
"warehouseCode": "001",
"page": 1,
"prePage": 20,
"customerSku": [
"MA015001",
"MA019002"
]
}
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
state
string
状态码
msg
string
消息
data
object
返回数据
list
array [object {13}]
必需
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
}
}
最后修改时间: 2 年前