Version: 202201
List Inventory Cost Price
GET/openapi/2022-01/statistics/inventory/cost_price
Request
Query Parameters
date stringrequired
Querying data for the month, in UTC timezone.,e.g.,2024-06
sales_platform string
Sales platform,can be "shoplazza","pos",or "center".
skus string[]
Variant's SKU list,
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:
327329225356870531product_idstring
Example:
0d876129-fa10-4645-b54a-be9569dd7abdvariant_idstring
Example:
4decd938-8aa5-4d46-b4c6-0fd56fd98440skustring
Example:
99960cost_pricestring
Example:
0.00pricestring
Example:
0.00{
"count": 1,
"data": [
{
"location_id": "327329225356870531",
"product_id": "0d876129-fa10-4645-b54a-be9569dd7abd",
"variant_id": "4decd938-8aa5-4d46-b4c6-0fd56fd98440",
"sku": "99960",
"cost_price": "0.00",
"price": "0.00"
}
]
}
{
"count": 1,
"data": [
{
"location_id": "327329225356870531",
"product_id": "0d876129-fa10-4645-b54a-be9569dd7abd",
"variant_id": "4decd938-8aa5-4d46-b4c6-0fd56fd98440",
"sku": "99960",
"cost_price": "0.00",
"price": "0.00"
}
]
}
400
- application/json
No schema