Get a blog category

Returns a category by slug with its published contents, paginated under `contents` (`limit` defaults to 500). Without `locale`, a multi-language site reads the slug in its default locale. Errors: 404 `RESOURCE_NOT_FOUND` for an unknown slug.

Required access
No credentialOptional: publishable keySite access
GET/categories/{slug}
Base URLhttps://api.lynkow.com/storefront/{siteId}

Path parameters

slug
string
required

URL-friendly identifier, unique per site and locale

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

limit
number

Number of the category's contents per page, 500 by default

Default: 500

Max: 500

Min: 1

locale
string

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

page
number

Page of the category's contents, starting at 1

Default: 1

Min: 1

Feedback

Was this page helpful?