**版本：202201**

# 查询商品专辑数量

**GET** `/openapi/2022-01/collections/count`

返回符合筛选条件的商品专辑总数。

## 请求

**Query参数**

- `ids` string

  Collection's IDs, separated by comma, for example: `0097cfc8-6ec3-40ed,40ed-ab9f-6f2231b7`
- `updated_at_min` string

  筛选最后更新时间不早于该时间点的专辑（ISO 8601 格式，如 2018-10-01T16:15:47-04:00）。
- `updated_at_max` string

  筛选最后更新时间不晚于该时间点的专辑（ISO 8601 格式，如 2018-10-01T16:15:47-04:00）。

## 响应

**200 | 404 | 422**

200

**application/json**

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

**数据结构**

- `count` integer

  **默认值：** `0`

  **示例：** `1`

```json
{
  "count": 1
}
```

```json
{
    "count": 1
}
```

404

**application/json**

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

**数据结构**

- `errors` string[]

```json
{
  "errors": [
    "store is not active"
  ]
}
```

```json
{"errors": ["store is not active"]}
```

422

**application/json**

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

**数据结构**

- `errors` string[]

```json
{
  "errors": [
    "UpdatedAtMin time format error"
  ]
}
```

```json
{
  "errors": [
    "UpdatedAtMin time format error"
  ]
}
```
