---
title: "Update a single resource - Locale"
method: PUT
path: "/locales/{id}"
tags: ["Data Model"]
---

# Update a single resource - Locale

`PUT /locales/{id}`

Replaces the Locale resource.

## Path parameters

- `id` string, required

## Request body

- LocaleLocaleInput
  - `fallbackLocale` string — This is the unique identifier of the resource
  - `active` boolean

## Response `200`

Locale resource updated

- LocaleLocaleOutput
  - `active` boolean
  - `fallbackLocale` string
  - `fallbackLocales` string[]
  - `id` string — This is the unique identifier of the resource
  - `name` LanguageTranslation — This structure does accept key & values where key has to be a language code configured in your PIM & the value is the value for this field in this language.
    - `fr-FR` string
    - `en-US` string

## Other responses

- `400` — Invalid input
- `404` — Resource not found
- `422` — Unprocessable entity

---

[API](https://skmtc.net/quable/apis/quable-pim-api-documentation-v5.md) · [All operations](https://skmtc.net/quable/apis/quable-pim-api-documentation-v5/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/quable/quable-pim-api-documentation-v5/versions/1641096abb34/schema)
