版本:202201
查询库存损耗数量
GET/openapi/2022-01/statistics/inventory/loss_quantity
请求
Query参数
begin_time string必填
Filtered after outbound date and stocktaking date, formatted as ISO-8601,e.g., 2024-07-01T00:00:00Z
end_time string必填
Filtered after outbound date and stocktaking date, formatted as ISO-8601,e.g., 2024-07-01T00:00:00Z
sales_platform string
Sales platform,can be "shoplazza","pos",or "center".
skus string[]
Varaint's SKU
page int32必填
默认值:
1limit int32必填
Maximum value 1000
默认值:
50响应
- 200
- 400
200
- application/json
- 数据结构
- 示例
- Result
数据结构
- Array [
- ]
countinteger
默认值:
0示例:
1data object[]
location_idstring
示例:
343224320769671133product_idstring
示例:
31ef1686-2186-4a07-80d9-8a93cd69acc9variant_idstring
示例:
87a2aaa1-b5dd-481e-87d9-0be8b0b9994dskustring
示例:
99889inventory_loss_quantityinteger
默认值:
0示例:
0{
"count": 1,
"data": [
{
"location_id": "343224320769671133",
"product_id": "31ef1686-2186-4a07-80d9-8a93cd69acc9",
"variant_id": "87a2aaa1-b5dd-481e-87d9-0be8b0b9994d",
"sku": "99889",
"inventory_loss_quantity": 0
}
]
}
{
"count": 1,
"data": [
{
"location_id": "343224320769671133",
"product_id": "31ef1686-2186-4a07-80d9-8a93cd69acc9",
"variant_id": "87a2aaa1-b5dd-481e-87d9-0be8b0b9994d",
"sku": "99889",
"inventory_loss_quantity": 0
}
]
}
400
- application/json
无 Schema