These endpoints provide metadata about the Trybe platform
listMetaSupportedLocales
This endpoint lists the locales which are supported by the platform.
A shopfront visitor may select a locale from this list to change the language of the shopfront,
and one of these locales may be stored against a Customer
or Site
's preferred_locale
.
A list of the platform's supported locales
{
"data": [
{
"code": "en",
"name": "English",
"emoji": "🇬🇧"
},
{
"code": "fr",
"name": "Français",
"emoji": "🇫🇷"
}
]
}
listMetaSupportedCurrencies
This endpoint lists the currencies which are supported by the platform.
A Site
may sell offerings to customers in one of the currencies listed here.
A list of the platform's supported currencies
{
"data": [
{
"code": "GBP"
},
{
"code": "EUR"
}
]
}
listMetaSupportedTimezones
This endpoint lists the timezones which are supported by the platform.
A Site
may sell offerings to customers in one of the timezones listed here.
A list of the platform's supported timezones
{
"data": [
{
"code": "Europe/Paris"
},
{
"code": "Atlantic/Faroe"
}
]
}