---
title: "Replace a single locale of a journey-scoped notification template"
method: PUT
path: "/journeys/{templateId}/templates/{notificationId}/locales/{localeId}"
tags: ["Journeys"]
---

# Replace a single locale of a journey-scoped notification template

`PUT /journeys/{templateId}/templates/{notificationId}/locales/{localeId}`

## Request

- Base URL: `https://api.courier.com`
- URL: `https://api.courier.com/journeys/{templateId}/templates/{notificationId}/locales/{localeId}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/trycourier/apis/courier/docs/journeys/:templateId/templates/:notificationId/locales/:localeId/put.ts> (a function with typed inputs; its response is checked against the schema)

Set locale-specific content overrides for a journey-scoped notification template. Each element override must reference an existing element by ID.

## Path parameters

- `templateId` string, required
- `notificationId` string, required
- `localeId` string, required

## Request body

- NotificationLocalePutRequest: Request body for setting locale-specific content overrides. Each element override must include the target element ID.
  - `elements` object[], required: Elements with locale-specific content overrides.
    - `id` string, required: Target element ID.
  - `state` 'DRAFT' | 'PUBLISHED': Template state. Defaults to `DRAFT`.

## Response `200`

Updated scoped notification locale

- NotificationContentMutationResponse: Shared mutation response for `PUT` content, `PUT` element, and `PUT` locale operations. Contains the template ID, content version, per-element checksums, and resulting state.
  - `id` string, required: Template ID.
  - `version` string, required: Content version identifier.
  - `elements` object[], required
    - `id` string, required
    - `checksum` string, required
  - `state` 'DRAFT' | 'PUBLISHED', required: Template state. Defaults to `DRAFT`.

## Other responses

- `400`: Bad request
- `404`: Not found
- `422`: Unprocessable entity

## Changes

- **2026-06-23** `59ac6b4f779a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/trycourier/apis/courier/changes/journeys/:templateId/templates/:notificationId/locales/:localeId/put.md)

---

[API](https://skmtc.dev/trycourier/apis/courier.md) - [All operations](https://skmtc.dev/trycourier/apis/courier/llms.txt) - [OpenAPI document](https://skmtc.dev/trycourier/apis/courier/revisions/cb8586034158?raw)
