Skip to main content

taxGroupSummary

Requires permission products:tax:read.

Returns tax-group counts for the whole organization. Needs the tax read permission.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

query TaxGroupSummary {
taxGroupSummary {
activeTaxGroups
averageGroupRate
recentlyUpdated
totalAssignedRates
totalTaxGroups
}
}

Response:

{
"data": {
"taxGroupSummary": {
"activeTaxGroups": 0,
"averageGroupRate": 0,
"recentlyUpdated": 0,
"totalAssignedRates": 0,
"totalTaxGroups": 0
}
}
}
taxGroupSummary: TaxGroupSummary!

Type​

TaxGroupSummary object​

Totals for the tax group list, over the whole set.