**Version: 202201**

# Collection Count

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

Retrieve the total number of collections that match specific criteria.

## Request

**Query Parameters**

- `ids` string

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

  Filter collections updated at or after date; Must follow RFC 3339 date-time format, for example: 2018-10-01T16:15:47-04:00
- `updated_at_max` string

  Filter collections updated at or before date;Must follow RFC 3339 date-time format, for example: 2018-10-01T16:15:47-04:00

## Responses

**200 | 404 | 422**

200

**application/json**

**Schema | Example | Result**

**Schema**

- `count` integer

  **Default value:** `0`

  **Example:** `1`

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

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

404

**application/json**

**Schema | Example | Result**

**Schema**

- `errors` string[]

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

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

422

**application/json**

**Schema | Example | Result**

**Schema**

- `errors` string[]

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

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