query QueryShopLanguages($salesChannelId: String!) {
QueryShopLanguages(salesChannelId: $salesChannelId) {
iso
nameGerman
nameEnglish
isAssigned
isDefault
}
}{
"salesChannelId": "string"
}{
"data": {
"QueryShopLanguages": [
{
"iso": "string",
"nameGerman": "string",
"nameEnglish": "string",
"isAssigned": true,
"isDefault": true
}
]
}
}QueryShopLanguages
Delivers all languages available in JTL-Wawi. Each entry is marked whether it is assigned to the shop and whether it is the shop’s default language. Not paged; no filtering, sorting or projection.
QueryShopLanguages(salesChannelId: String!): [ShopLanguageListItem!]!Arguments
Returns
ISO 639-1 language code in lowercase, e.g. de. Identifies the language. Only the format is validated. Languages without an ISO 639-1 code are currently not listed. The value is currently always a two-letter code; the format may later be extended to BCP 47 language tags (e.g. de-AT) without breaking clients that validate against the published pattern.
German name of the language as stored in JTL-Wawi's language master data, or null if unset.
English name of the language as stored in JTL-Wawi's language master data, or null if unset.
This language is currently assigned to the shop.
This language is the shop default language. Only meaningful while IsAssigned is true.
query QueryShopLanguages($salesChannelId: String!) {
QueryShopLanguages(salesChannelId: $salesChannelId) {
iso
nameGerman
nameEnglish
isAssigned
isDefault
}
}{
"salesChannelId": "string"
}{
"data": {
"QueryShopLanguages": [
{
"iso": "string",
"nameGerman": "string",
"nameEnglish": "string",
"isAssigned": true,
"isDefault": true
}
]
}
}Was this page helpful?