Get a page by slug

Returns one published Site Builder page by slug: its page tree, the resolved SEO bundle, the JSON-LD graph and its translations in `alternates`. Build links and the canonical URL from `publicPath`, which is always set; `path` is the stored value and can be null. Without `locale`, the page is read in the site's default locale. With `locale`, a missing translation is served from the next locale of the site's chain. Send `If-None-Match` with the `ETag` to get a 304. Errors: 404 `RESOURCE_NOT_FOUND` for an unknown slug.

Required access
No credentialOptional: publishable keySite access
GET/pages/{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

locale
string

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

Feedback

Was this page helpful?