List site variables

Returns the site's variables, one item per key, sorted by key. The list is not paginated. A `calendar` variable's `value` is its schedule as a JSON string. Without `locale`, each key is served in the site's default locale. With `locale`, a key with no value in that locale is served from the next locale of the site's chain, and the response sends `Content-Language`. A `fallback` that is not a boolean returns 422.

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

Query parameters

fallback
boolean

With `locale`, `false` keeps only the keys that have a value in 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?