Localize an entry
PUT https://{{base_url}}/v3/content_types/{{content_type_uid}}/entries/{{entry_uid}}?locale={{locale}}
The Localize an entry request allows you to localize an entry i.e., the entry will cease to fetch data from its fallback language and possess independent content specific to the selected locale.
To configure the permissions for your application via OAuth, please include the cm.entries.management:write scope.
To use the API Request, you will need to authenticate yourself either with a Management Token (highly recommended) or an Authtoken.Â
Read more about it in Authentication.
For more information, refer to the Localize an entry API Reference document
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
locale | string | Enter the code of the language to localize the entry of that particular language. | |
include_branch | boolean | Set this to 'true' to include the '_branch' top-level key in the response. This key states the unique ID of the branch where the concerned Contentstack module resides. |
Request Body
{"entry"=>{"title"=>"Home", "url"=>"/home-french", "locale"=>"en-us", "uid"=>"bltc123d123b123f91c1", "created_by"=>"blt55e55d55d5f55555a5b5f", "updated_by"=>"blt55e55d55d5f55555a5b5f", "created_at"=>"2017-06-13T12:34:52.083Z", "updated_at"=>"2018-12-28T06:33:06.752Z", "_version"=>2}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
api_key | string | Enter the API key of the stack. | |
authtoken | string | Enter your authtoken | |
authorization | string | For this call we recommend you to use management token. | |
branch | string | Enter your branch unique ID. | |
Content-Type | string |