Get a page by path

Returns the published page at a public path, such as `/pricing` or `/fr/tarifs`, with the same shape and cache headers as `GET /pages/{slug}`. Without `locale`, a leading locale segment of `path` selects the locale. With `locale`, a missing translation is served from the next locale of the site's chain. When no page matches but a redirect covers the path, the response is a 200 with `type: redirect`, as `GET /redirects/match` answers. With `locale`, so is a fallback page whose translation has its own URL. Errors: 400 `VALIDATION_FIELD_REQUIRED` without `path`, 404 `PATH_NOT_FOUND`.

Required access
No credentialOptional: publishable keySite access
GET/page-by-path
Base URLhttps://api.lynkow.com/storefront/{siteId}

Query parameters

path
string
required

The page's public URL path, such as `/about` or `/fr/a-propos`. Only a non-default locale carries a prefix

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?