Update Locale
Locales
Update Locale
Updates an existing locale.
PATCH
Update Locale
Authorizations
API key authentication. Accepts either:
- App API key (e.g. sk_eczMHVBY9fV6GYFhvs53qcnxq7yptlXL3ABKOZtn6dQ)
- Site API key (UUID format, e.g. 550e8400-e29b-41d4-a716-446655440000)
Path Parameters
The locale ID or locale code.
Query Parameters
The site ID required when using a locale code instead of a locale ID.
Body
application/json
Response
Available options:
locale Example:
"locale"
The ID of the updated locale.
We support the subset of locales specified with ISO 3166 that are composed of language and optionally a region.
Examples:
"en"
"es"
"fr-FR"
"ar-EG"
"ja-JP"
The domain URL for domain-based localization.
Example:
"https://hearthfurniture.com.mx"
The flag that indicates whether this locale is the default locale for the site.