List paths for static generation

Lists every renderable path of the site, for static-site generators and sitemaps: content entries and categories under the active `blogUrlMode`, plus published products, product categories and collections with `include=commerce`. Without `locale`, a multi-language site lists its default-locale paths only. With `locale`, the list holds one entry per translation group: its row in the requested locale, else its fallback URL. Every listed path resolves through `GET /resolve`. A product hidden in the read's locale is left out. Any `include` other than `commerce` returns 422.

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

Query parameters

fallback
boolean

With `locale`, `false` leaves out the fallback URL of each entry not translated into the requested locale

Default: true

include
enum("commerce")

One of: commerce

locale
string

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

market
string

Market `mkt_` id: with `include=commerce`, the URLs of products hidden in that market are left out. Unknown or draft markets are ignored

Feedback

Was this page helpful?