**版本：202201**

# 查询库存成本价

**GET** `/openapi/2022-01/statistics/inventory/cost_price`

## 请求

**Query参数**

- `date` string (required)

  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 (required)

  **默认值：** `1`
- `limit` int32 (required)

  Maximum value 1000

  **默认值：** `50`

## 响应

**200 | 400**

200

**application/json**

**数据结构 | 示例 | Result**

**数据结构**

- `count` integer

  **默认值：** `0`

  **示例：** `1`
- `data` object[]

  *   Array [

  - `location_id` string

    **示例：** `327329225356870531`
  - `product_id` string

    **示例：** `0d876129-fa10-4645-b54a-be9569dd7abd`
  - `variant_id` string

    **示例：** `4decd938-8aa5-4d46-b4c6-0fd56fd98440`
  - `sku` string

    **示例：** `99960`
  - `cost_price` string

    **示例：** `0.00`
  - `price` string

    **示例：** `0.00`
  *   ]

```json
{
  "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"
    }
  ]
}
```

```json
{
    "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
