Version: 202201
List Inventory Loss Quantity
GET/openapi/2022-01/statistics/inventory/loss_quantity
Request
Query Parameters
begin_time stringrequired
Filtered after outbound date and stocktaking date, formatted as ISO-8601,e.g., 2024-07-01T00:00:00Z
end_time stringrequired
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 int32required
Default value:
1limit int32required
Maximum value 1000
Default value:
50Responses
- 200
- 400
200
- application/json
- Schema
- Example
- Result
Schema
- Array [
- ]
countinteger
Default value:
0Example:
1data object[]
location_idstring
Example:
343224320769671133product_idstring
Example:
31ef1686-2186-4a07-80d9-8a93cd69acc9variant_idstring
Example:
87a2aaa1-b5dd-481e-87d9-0be8b0b9994dskustring
Example:
99889inventory_loss_quantityinteger
Default value:
0Example:
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
No schema