Meta

These endpoints provide metadata about the Trybe platform

listMetaSupportedLocales

Get supported locales

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.

Responses

  • 200

    A list of the platform's supported locales

GET/meta/supported-locales
200
example response
{
  "data": [
    {
      "code": "en",
      "name": "English",
      "emoji": "🇬🇧"
    },
    {
      "code": "fr",
      "name": "Français",
      "emoji": "🇫🇷"
    }
  ]
}
listMetaSupportedCurrencies

Get supported currencies

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.

Responses

  • 200

    A list of the platform's supported currencies

GET/meta/supported-currencies
200
example response
{
  "data": [
    {
      "code": "GBP"
    },
    {
      "code": "EUR"
    }
  ]
}
listMetaSupportedTimezones

Get supported timezones

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.

Responses

  • 200

    A list of the platform's supported timezones

GET/meta/supported-timezones
200
example response
{
  "data": [
    {
      "code": "Europe/Paris"
    },
    {
      "code": "Atlantic/Faroe"
    }
  ]
}