query QueryShopCurrencies($salesChannelId: String!) {
QueryShopCurrencies(salesChannelId: $salesChannelId) {
currencyCode
codeSource
name
isAssigned
isDefault
}
}{
"salesChannelId": "string"
}{
"data": {
"QueryShopCurrencies": [
{
"currencyCode": "string",
"codeSource": "ISO",
"name": "string",
"isAssigned": true,
"isDefault": true
}
]
}
}QueryShopCurrencies
Delivers all currencies known to JTL-Wawi, each marked whether it is assigned to the shop and whether it is the default. Codes are returned in canonical form (ISO 4217 alpha-3 in uppercase, or x- prefixed tenant-defined codes in lowercase), in the same formats that “PUT /v2/sales-channels//shop/currencies” or “SaveShopCurrencies” accepts. Currencies whose code has neither format are not listed. If several currencies share a code, one entry is returned per code. Not paged; no filtering, sorting or projection.
QueryShopCurrencies(salesChannelId: String!): [ShopCurrencySelection!]!Arguments
Returns
Code of the currency in canonical form: uppercase for ISO 4217 alpha-3 codes, lowercase x- prefix for tenant-defined codes. Identifies the currency and uses the same formats that "PUT /v2/sales-channels/{salesChannelId}/shop/currencies" or "SaveShopCurrencies" accepts. Only the format is validated. Currencies whose code has neither format are not listed.
Source of "CurrencyCode": "Iso" for an ISO 4217 alpha-3 code (uppercase), "UserAssigned" for an x- prefixed tenant-defined code (lowercase). Determined from the code format, so a tenant-defined code in uppercase alpha-3 format is reported as "Iso".
Display name of the currency as stored in JTL-Wawi's currency master data, or null if unset.
Currency is assigned to the shop. False for every currency that is part of JTL-Wawi's currency master data but not of the shop's assignments; the result is the full catalogue, not the assignment set.
Currency is the shop default currency. Only ever true when IsAssigned is also true.
query QueryShopCurrencies($salesChannelId: String!) {
QueryShopCurrencies(salesChannelId: $salesChannelId) {
currencyCode
codeSource
name
isAssigned
isDefault
}
}{
"salesChannelId": "string"
}{
"data": {
"QueryShopCurrencies": [
{
"currencyCode": "string",
"codeSource": "ISO",
"name": "string",
"isAssigned": true,
"isDefault": true
}
]
}
}Was this page helpful?