Menu
Get Locale By Code
Get a locale
GET
/api/rest/v1/locales/{code}Use it in a workflow
- Add a step and choose the Akeneo connector.
- Pick the Get Locale By Code action (under Locale).
- Fill in the fields below, then reference the result from later steps as
{{getLocaleByCode.response.data}}.
Request
Path parameters
Response
Returns 200 with an object. Read it in later steps with {{getLocaleByCode.response.data.<field>}}.
{
"code": "en_US",
"enabled": true
}
Need more? See the Akeneo guide for connection setup and behaviour shared by every action.
Was this page helpful?