latestSwagger 2.0ShopBase Dev 1.02026-08-10153268547.4 KB

353ccde6240d

Collect

Adds a product to a custom collection.

Create a new link between an existing product and an existing collection.

post/admin/collects.json

Request body

Example request

{
  "collect": {
    "collection_id": 86733558492,
    "product_id": 16011
  }
}

Response

OK

Example response

{
  "collect": {
    "collection_id": 86733558492,
    "id": 5435,
    "position": 2,
    "product_id": 16011,
    "sort_value": "0000000002"
  }
}