**Version: 202601**

# Count products

**GET** `/openapi/2026-01/products/count`

Count the number of products based on the provided filters.

## Request

**Query Parameters**

- `ids` string[]

  Product's IDs. Example: ?ids=2001&ids=2002
- `title` string

  Product's title
- `collection_id` string

  Collection UUID, for example: `9e79ca1f-9ff2-409b-976f-98be343d38a3`
- `created_at_min` string

  Filter products created at or after date, for example: `2018-10-01T16:15:47-04:00`
- `created_at_max` string

  Filter products created at or before date, for example: `2018-10-01T16:15:47-04:00`
- `updated_at_min` string

  Filter products last updated at or after date, for example: `2018-10-01T16:15:47-04:00`
- `updated_at_max` string

  Filter products last updated at or before date, for example: `2018-10-01T16:15:47-04:00`
- `published_at_min` string

  Filter products published at or after date, for example: `2018-10-01T16:15:47-04:00`
- `published_at_max` string

  Filter products published at or before date, for example: `2018-10-01T16:15:47-04:00`
- `published_status` string

  Filter by published status: `published`, `unpublished`, `any`

## Responses

**200**

OK

**application/json**

**Schema | Example**

**Schema**

- `code` string

  error code
- `message` string

  error message
- `data` object

  - `count` int64

    The total number of products that match the provided filters

```json
{
  "code": "string",
  "message": "string",
  "data": {
    "count": 0
  }
}
```
