库存列表
POST
/invoicing-aggregation/inventories-sku/search支持查询指定仓库的库存,可用库存和占用库存
注意:只有商品产生过出入库数据才会在这个接口返回
请求参数
Body 参数application/json
currentPage
integer
当前页
pageSize
integer
每页返回数据大小
warehouseId
number
仓库ID
skuIds
array[number]
商品skuId集
示例
{
"currentPage": 0,
"pageSize": 0,
"warehouseId": 0,
"skuIds": [
0
]
}
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
message
string
必需
data
object
必需
totalCount
integer
必需
currentPage
integer
必需
pageSize
integer
必需
totalPage
integer
必需
items
array [object {14}]
必需
示例
{
"code": 57,
"message": "ullamco in",
"data": {
"totalCount": 80,
"currentPage": 72,
"pageSize": 20,
"totalPage": 11,
"items": [
{
"code": "55",
"availableAmount": 7,
"multiUnitPreOrderCount": 41,
"preOrderCount": 83,
"id": 42,
"unitName": "并者件才多九",
"spuId": 17,
"amount": 3,
"skuId": 38,
"multiUnitAmount": 66,
"name": "色书究进",
"unitId": 83,
"multiUnitAvailableAmount": 36,
"status": 23
},
{
"multiUnitPreOrderCount": 71,
"spuId": 71,
"skuId": 64,
"preOrderCount": 18,
"name": "则更间近达等",
"unitName": "出以百由号几",
"availableAmount": 72,
"multiUnitAvailableAmount": 16,
"amount": 7,
"unitId": 66,
"id": 58,
"multiUnitAmount": 90,
"code": "11",
"status": 87
},
{
"status": 99,
"unitId": 10,
"spuId": 48,
"amount": 96,
"code": "69",
"multiUnitAmount": 14,
"multiUnitPreOrderCount": 56,
"skuId": 62,
"name": "级维以点用",
"id": 79,
"unitName": "好严次时",
"preOrderCount": 33,
"availableAmount": 36,
"multiUnitAvailableAmount": 15
},
{
"code": "34",
"multiUnitAmount": 48,
"name": "整北建",
"multiUnitAvailableAmount": 52,
"unitName": "起太办比体",
"unitId": 63,
"skuId": 22,
"multiUnitPreOrderCount": 41,
"spuId": 7,
"status": 52,
"availableAmount": 66,
"amount": 39,
"id": 41,
"preOrderCount": 36
},
{
"preOrderCount": 45,
"unitName": "行走往",
"id": 47,
"multiUnitAmount": 52,
"unitId": 4,
"multiUnitAvailableAmount": 96,
"availableAmount": 37,
"skuId": 48,
"code": "10",
"spuId": 25,
"status": 90,
"multiUnitPreOrderCount": 58,
"amount": 10,
"name": "争五改政"
}
]
}
}
最后修改时间: a year ago