Basic information

Retrieve the locale information of a shop.

GET /{shopId}/locales

Returns the shop’s locale information, i.e. the language identifier and the region identifier.

Authorisation

OAuth 2.0 Token required with scopes:

products_read

URI parameters

Name Type Description
shopId string

The unique identifier of the shop.

Required: true
Example: DemoShop

Response attributes

Name Type Description
default

string

The default language of the shop according to ISO 639-1 and ISO 3166-1.

items

array

The additional languages in which the shop is available according to ISO 639-1 and ISO 3166-1.

Response

HTTP 200

Media type application/json

{
  "default": "de_DE",
  "items": [
    "de_DE",
    "en_GB",
    "it_IT",
    "es_ES",
    "fr_FR",
    "nl_NL"
  ]
}