SiteVariable
Interface
One site variable, as lynkow.variables.list() returns it: a named value the merchant
defines once in the admin (a phone number, an opening status) and reuses across the site.
The shape is a closed allowlist: the variable's admin label and description are not returned.
Property | Type | Optional | Description |
|---|---|---|---|
|
| Yes |
|
|
| No | Key of the variable, the name used in a |
|
| No | BCP 47 code of the language the value was served in (e.g. |
|
| Yes | BCP 47 code the request asked for, as sent in the |
|
| No | Kind of value: |
|
| No | The value in the served language. A JSON string when |
SiteVariableList
Interface
The response of lynkow.variables.list(). Not paginated: data holds every variable of
the site, one per key.
Property | Type | Optional | Description |
|---|---|---|---|
|
| No | Every variable of the site, one per key, sorted by key. Empty when the site has none. |