Skip to content
Content & StorefrontCollections

Get collection by slug

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

GET/v1/collections/{slug}
No token

Path Parameters

slug*string

URL-friendly identifier.

Header Parameters

x-Store-Domain*string

Slug of the store or one of its configured domains, such as my-store.

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://storefront.ecomiq.pe/v1/collections/nueva-temporada" \  -H "x-Store-Domain: my-store"
{  "id": "7204558912004326958",  "slug": "nueva-temporada",  "name": "Nueva temporada",  "description": "Polo de algodón pima para uso diario.",  "imageUrl": "https://mi-tienda.ecomiq.app/images/polo-de-algodon.webp",  "type": "Nueva temporada",  "productCount": 24,  "template": "Nueva temporada"}