Get a product collection by slug

Returns one product collection by its slug, with `structuredData.graph`, the page's JSON-LD graph. Its `ItemList` holds the collection's first 20 published products, newest first, without those hidden in the served language or in `market`. With `locale`, the slug can also be the translated slug, and the collection is served in the requested locale or its fallback chain: base language, site default locale, then its own language. Errors: 404 `PRODUCT_COLLECTION_NOT_FOUND` for an unknown slug. > **Note:** Available only on sites with e-commerce enabled.

Required access
Send
  • Publishable keyX-Lynkow-Pk
Site access
GET/product-collections/{slug}
Base URLhttps://api.lynkow.com/storefront/{siteId}

Path parameters

slug
string
required

Product collection slug, unique per site

Query parameters

fallback
boolean

With `locale`, `false` returns 404 when the item is not translated into the requested locale. Single-language sites ignore it

Default: true

locale
string

BCP 47 locale code (e.g. "en", "fr")

market
string

Market `mkt_` id: products hidden in that market are left out of `structuredData`. Unknown, draft or malformed values are ignored

Feedback

Was this page helpful?