---
title: "Update supported comms locales"
method: PUT
path: "/shop/sites/{siteId}/supported-comms-locales"
tags: ["Sites"]
---

# Update supported comms locales

`PUT /shop/sites/{siteId}/supported-comms-locales`

This endpoint allows you to update the list of 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`](/endpoints/Meta#listMetaSupportedLocales) endpoint.

## Path parameters

- `siteId` string, uuid, required

## Request body

- object
  - `locales` string[] — A list of locales that are supported by the site. This should be a string of locale codes that are supported by the platform.

## Response `200`

A list of supported comms locales

- object
  - `data` SupportedLocale[]
    - `code` string, required — The locale code
    - `name` string, required — The locale name, in the language of the locale
    - `emoji` string, required — An emoji representing the locale

## Other responses

- `401` — The user is unauthenticated
- `403` — The authenticated user does not have permission.
- `404` — The resource couldn't be found
- `422` — The request didn't pass validation

---

[API](https://skmtc.dev/try/apis/trybe-api.md) · [All operations](https://skmtc.dev/try/apis/trybe-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/try/trybe-api/revisions/f37f92702da5/schema)
