younifyd
Menu

Get Locales

Get a list of locales

GET/api/rest/v1/locales

Use it in a workflow

  1. Add a step and choose the Akeneo connector.
  2. Pick the Get Locales action (under Locale).
  3. Fill in the fields below, then reference the result from later steps as {{getLocales.response.data}}.

Request

Query parameters

searchstring

The `search` query parameter allows you to filter locales based on specific criteria. For more details see the [Filters section](https://api.akeneo.com/documentation/filter.html#filter-locales).

pageinteger

Specify which page of results to retrieve when using pagination. It is useful for navigating through large datasets by breaking them into smaller, manageable pages. See [Pagination](https://api.akeneo.com/documentation/pagination.html) section for more details.

Default 1

limitinteger

Specify the maximum number of results to return per page. It is useful for controlling the amount of data returned in a single request, especially when dealing with large datasets. See [Pagination](https://api.akeneo.com/documentation/pagination.html) section for more details.

Default 10

with_countboolean

Return the count of items in the response. Be careful with that, on a big catalog, it can decrease performance in a significant way. It is useful for understanding the size of the dataset being returned, especially when dealing with large collections. Use it judiciously to avoid performance issues.

Default false

Response

Returns 200 with an object. Read it in later steps with {{getLocales.response.data.<field>}}.

Need more? See the Akeneo guide for connection setup and behaviour shared by every action.

Get Locales — Akeneo — Documentation