query QueryConnectorCurrencies($salesChannelId: String!) {
QueryConnectorCurrencies(salesChannelId: $salesChannelId) {
currencyCode
codeSource
name
isAssigned
isDefault
}
}{
"salesChannelId": "string"
}{
"data": {
"QueryConnectorCurrencies": [
{
"currencyCode": "string",
"codeSource": "ISO",
"name": "string",
"isAssigned": true,
"isDefault": true
}
]
}
}QueryConnectorCurrencies
Delivers the ISO 4217 currencies known to the Wawi, annotated with the assignment/default state for a single connector account. Currencies without an ISO 4217 code are not part of the result. The result is not paged and supports no filtering or sorting.
QueryConnectorCurrencies(salesChannelId: String!): [ConnectorCurrency!]!Arguments
Returns
Code of the currency in ISO 4217 alpha-3 form, uppercase. This is the identifier of the resource (ADR-85) - the internal surrogate key (kWaehrung) is not exposed. Only the FORM of the code is validated; membership in the ISO 4217 register is not verified, because the Wawi ships no register. Responses always carry the canonical form (uppercase). Currencies whose code does not match that form are not exposed by this endpoint; the x-prefixed private-use namespace is reserved for them.
Source of CurrencyCode - standardized ISO 4217 code or tenant-defined code. Always Iso for now, because only codes in ISO 4217 alpha-3 form are returned; a tenant-defined code that happens to have that form is therefore reported as Iso. Distinguishing the two requires the code registry from the pending ADR-85 implementation tickets.
Name of the currency.
Currency is assigned to the connector account.
Currency is the connector account's default currency.
query QueryConnectorCurrencies($salesChannelId: String!) {
QueryConnectorCurrencies(salesChannelId: $salesChannelId) {
currencyCode
codeSource
name
isAssigned
isDefault
}
}{
"salesChannelId": "string"
}{
"data": {
"QueryConnectorCurrencies": [
{
"currencyCode": "string",
"codeSource": "ISO",
"name": "string",
"isAssigned": true,
"isDefault": true
}
]
}
}Was this page helpful?