v2

latestOpenAPI 3.1.02026-07-26102336742.6 KB
Collections

Set collection products

Rate limit: 100 requests / 10 seconds per shop. See Rate limiting.

Sets the full list of product IDs in the collection

put/open-api/v1.0/collections/{collectionId}/products

Path parameters

collectionIdstring required

Request body

offerIdsstring[] required

Full list of product IDs to set in the collection

Response

OK

idstring required
shopIdstring required
namestring required
slugstring required
descriptionstring required
availableboolean required
offerIdsstring[] required

Example response

{
  "id": "col_b1EVARkUTcCTSfspQaXr1Q",
  "shopId": "sh_c689d374-22ca-43d3-8d29-9ef0805cc4cb",
  "name": "My collection",
  "slug": "my-collection",
  "description": "My collection description"
}