Query
query QueryConnectorTaxRates($salesChannelId: String!) {
QueryConnectorTaxRates(salesChannelId: $salesChannelId) {
rate
countryCode
}
}Variables
{
"salesChannelId": "string"
}Response
{
"data": {
"QueryConnectorTaxRates": [
{
"rate": "value",
"countryCode": "string"
}
]
}
}Queries
QueryConnectorTaxRates
Delivers the tax rates currently reported by the connector endpoint. The endpoint is queried live on every request, so response times and errors depend on the endpoint. At most 50 tax rates are returned; if the endpoint reports more, the result is truncated without notice, so treat a result of exactly 50 entries as possibly incomplete. Not paged; no filtering or sorting.
QUERY
QueryConnectorTaxRates(salesChannelId: String!): [ConnectorTaxRateListItem!]!Arguments
salesChannelId
String!
required
Returns
rate
Decimal!
Tax rate in percent as reported by the endpoint (19 means 19 %). Returned unchanged, without conversion or validation.
countryCode
String
ISO 3166-1 alpha-2 code (uppercase) of the country the tax rate applies to, e.g. DE. Null if the endpoint reported no valid two-letter code. Only the format is validated. Each rate applies to exactly one country.
Query
query QueryConnectorTaxRates($salesChannelId: String!) {
QueryConnectorTaxRates(salesChannelId: $salesChannelId) {
rate
countryCode
}
}Variables
{
"salesChannelId": "string"
}Response
{
"data": {
"QueryConnectorTaxRates": [
{
"rate": "value",
"countryCode": "string"
}
]
}
}Was this page helpful?