curl --request GET \
--url https://api.example.com/api/storefront/collections/{handle} \
--header 'X-Site-ID: <x-site-id>'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"description": "<string>",
"handle": "<string>",
"image_url": "<string>",
"products_count": 123,
"products": [
{
"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>",
"currency": "<string>",
"images": [
{}
],
"has_variants": true,
"options": [
{}
],
"variants": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sku": "<string>",
"option1": "<string>",
"option2": "<string>",
"option3": "<string>",
"price": "<string>",
"compare_at_price": "<string>",
"available": true,
"in_stock": true,
"image_url": "<string>"
}
],
"in_stock": true
}
]
}Get a collection by handle with products.
curl --request GET \
--url https://api.example.com/api/storefront/collections/{handle} \
--header 'X-Site-ID: <x-site-id>'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"description": "<string>",
"handle": "<string>",
"image_url": "<string>",
"products_count": 123,
"products": [
{
"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>",
"currency": "<string>",
"images": [
{}
],
"has_variants": true,
"options": [
{}
],
"variants": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sku": "<string>",
"option1": "<string>",
"option2": "<string>",
"option3": "<string>",
"price": "<string>",
"compare_at_price": "<string>",
"available": true,
"in_stock": true,
"image_url": "<string>"
}
],
"in_stock": true
}
]
}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.
x >= 11 <= x <= 100Successful Response