**Version: 202201**

# Collect Details

**GET** `/openapi/2022-01/collects/:id`

Retrieves detailed information about a specific collect by its unique identifier (id)

## Request

**Path Parameters**

- `id` string (required)

  Collect's ID

## Responses

**200 | 422**

200

**application/json**

**Schema | Example | Result**

**Schema**

- `collect` object

  - `id` string

    **Example:** `dec4897f-2537-44a7-91fb-9854f643ad1e`
  - `collection_id` string

    **Example:** `a60fe556-43ad-4e07-9125-507ac1bf71f7`
  - `product_id` string

    **Example:** `636a07da-39eb-4829-bde9-b65fae1c28b0`
  - `position` integer

    **Default value:** `0`

    **Example:** `1`
  - `created_at` string

    **Example:** `2024-04-16T10:31:13Z`
  - `updated_at` string

    **Example:** `2024-04-16T10:31:13Z`

```json
{
  "collect": {
    "id": "dec4897f-2537-44a7-91fb-9854f643ad1e",
    "collection_id": "a60fe556-43ad-4e07-9125-507ac1bf71f7",
    "product_id": "636a07da-39eb-4829-bde9-b65fae1c28b0",
    "position": 1,
    "created_at": "2024-04-16T10:31:13Z",
    "updated_at": "2024-04-16T10:31:13Z"
  }
}
```

```json
{
    "collect": {
        "id": "dec4897f-2537-44a7-91fb-9854f643ad1e",
        "collection_id": "a60fe556-43ad-4e07-9125-507ac1bf71f7",
        "product_id": "636a07da-39eb-4829-bde9-b65fae1c28b0",
        "position": 1,
        "created_at": "2024-04-16T10:31:13Z",
        "updated_at": "2024-04-16T10:31:13Z"
    }
}
```

422

**application/json**

**Schema | Example | Result**

**Schema**

- `errors` string[]

```json
{
  "errors": [
    "ID must be a valid UUID"
  ]
}
```

```json
{
  "errors": [
    "ID must be a valid UUID"
  ]
}
```
