Sites

Get supported comms locales

This endpoint returns a list of the locales that are supported by the site.

When a Customer has a preferred locale, if the locale is included in the site's supported comms locales, then any email communication will be sent in that preferred locale.

The locales must be included in the platform's supported locales, which can be retrieved using the listMetaSupportedLocales endpoint.

get/shop/sites/{siteId}/supported-comms-locales

Path parameters

siteIdstring uuid required

Identifier of the site whose supported communication locales are being read or updated. The locales control which translations are selectable when authoring email/SMS templates and which locales customers may pick from at checkout.

Response

A list of supported comms locales

Example response

{
  "data": [
    {
      "code": "en",
      "name": "English",
      "emoji": "🇬🇧"
    }
  ]
}

Changes

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