版本:202201
查询库存成本价
GET/openapi/2022-01/statistics/inventory/cost_price
请求
Query参数
date string必填
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 int32必填
默认值:
1limit int32必填
Maximum value 1000
默认值:
50响应
- 200
- 400
200
- application/json
- 数据结构
- 示例
- Result
数据结构
- Array [
- ]
countinteger
默认值:
0示例:
1data object[]
location_idstring
示例:
327329225356870531product_idstring
示例:
0d876129-fa10-4645-b54a-be9569dd7abdvariant_idstring
示例:
4decd938-8aa5-4d46-b4c6-0fd56fd98440skustring
示例:
99960cost_pricestring
示例:
0.00pricestring
示例:
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
无 Schema