Skip to content
Guides
Content & StorefrontCollections

Get collection by slug

Returns one published collection by slug, with its name, description and media.

GET/v1/collections/{slug}

Returns one published collection by slug, with its name, description and media.

Path Parameters

slug*string

URL-friendly identifier.

Header Parameters

x-Store-Domain*string

Store slug or configured domain that selects the store context at the central Storefront gateway.

Length1 <= length <= 253

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/v1/collections/example-resource" \  -H "x-Store-Domain: my-store"
{  "id": "7204558912004325301",  "slug": "example-resource",  "name": "Example resource",  "description": "Example description.",  "imageUrl": "https://example.com/resource",  "type": "example",  "productCount": 1}