Skip to main content
DELETE
/
api
/
dashboard
/
collections
/
{collection_id}
/
products
Remove Products From Collection
curl --request DELETE \
  --url https://api.example.com/api/dashboard/collections/{collection_id}/products \
  --header 'Content-Type: application/json' \
  --data '
{
  "product_ids": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ]
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "merchant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "title": "<string>",
  "description": "<string>",
  "handle": "<string>",
  "type": "<string>",
  "image_url": "<string>",
  "sort_order": "<string>",
  "published": true,
  "published_at": "2023-11-07T05:31:56Z",
  "products_count": 123,
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "products": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "merchant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>",
      "slug": "<string>",
      "description": "<string>",
      "vendor": "<string>",
      "product_type": "<string>",
      "tags": [
        "<string>"
      ],
      "price": "<string>",
      "compare_at_price": "<string>",
      "cost_per_item": "<string>",
      "currency": "<string>",
      "images": [
        {}
      ],
      "has_variants": true,
      "options": [
        {}
      ],
      "variants": [
        {
          "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "product_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "sku": "<string>",
          "barcode": "<string>",
          "option1": "<string>",
          "option2": "<string>",
          "option3": "<string>",
          "price": "<string>",
          "compare_at_price": "<string>",
          "cost_per_item": "<string>",
          "inventory_quantity": 123,
          "inventory_policy": "<string>",
          "low_stock_threshold": 123,
          "weight": "<string>",
          "weight_unit": "<string>",
          "requires_shipping": true,
          "image_url": "<string>",
          "available": true,
          "is_low_stock": true,
          "is_out_of_stock": true,
          "created_at": "2023-11-07T05:31:56Z",
          "updated_at": "2023-11-07T05:31:56Z"
        }
      ],
      "track_inventory": true,
      "total_inventory": 123,
      "in_stock": true,
      "status": "<string>",
      "published_at": "2023-11-07T05:31:56Z",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.stella-commerce.com/llms.txt

Use this file to discover all available pages before exploring further.

Headers

authorization
string | null
X-API-Key
string | null
X-Stella-Merchant-Id
string | null

Path Parameters

collection_id
string<uuid>
required

Body

application/json

Schema for adding/removing products.

product_ids
string<uuid>[]
required

Response

Successful Response

Schema for collection with products.

id
string<uuid>
required
merchant_id
string<uuid>
required
title
string
required
description
string | null
required
handle
string | null
required
type
string
required
image_url
string | null
required
sort_order
string
required
published
boolean
required
published_at
string<date-time> | null
required
products_count
integer
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
products
ProductResponse · object[]
required