**Version: 202601**

# Create collect

**POST** `/openapi/2026-01/collects`

Associates a product with a collection by creating a collect object.

## Request

**application/json**

**Body | Example**

**Body (required)**

- `collect` object (required)

  Collect (product-collection relation)

  - `collection_id` string (required)

    Collection ID
  - `product_id` string (required)

    Product ID

```json
{
  "collect": {
    "collection_id": "string",
    "product_id": "string"
  }
}
```

## Responses

**200**

OK

**application/json**

**Schema | Example**

**Schema**

- `code` string

  error code
- `message` string

  error message
- `data` object

  - `collect` object

    Collect (product-collection relation)

    - `id` string

      Collect ID
    - `collection_id` string

      Identifier of the associated collection
    - `product_id` string

      Identifier of the associated product
    - `position` int64

      Position of the product in the collection
    - `created_at` string

      Timestamp when the collect was created
    - `updated_at` string

      Timestamp when the collect was last updated

```json
{
  "code": "string",
  "message": "string",
  "data": {
    "collect": {
      "id": "string",
      "collection_id": "string",
      "product_id": "string",
      "position": 0,
      "created_at": "string",
      "updated_at": "string"
    }
  }
}
```
