Meta

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.

get/meta/supported-locales

Response

A list of the platform's supported locales

Example response

{
  "data": [
    {
      "code": "en",
      "name": "English",
      "emoji": "🇬🇧"
    },
    {
      "code": "fr",
      "name": "Français",
      "emoji": "🇫🇷"
    }
  ]
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.