Skip to content

L01 - List locale codes and labels

Request

Description

List locale codes and labels from your platform to automate product format exports (API H01, PM01, VL01) from your PIM system

Call Frequency
Maximum usage: Once per day
Security
Shop-API-Key(Required scopes: ROLE_SHOP_ADMINROLE_PARTNER_I18N_SETTINGS_READ)
Query
shop_idinteger, (int64)

Use this parameter when your user has access to several shops. If not specified, the shop_id from your default shop will be used.

curl -i -X GET \
  'https://your-instance.mirakl.net/api/locales?shop_id=0' \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

OK

Bodyapplication/json
localesArray of objectsrequired

List of locales

Response
{ "locales": [ { … }, { … }, { … }, { … }, { … }, { … } ] }