taxRatesCount
Requires an authenticated session.
Returns how many tax rates match the same filters as taxRates, ignoring paging, for a pager.
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:
- GraphQL
- cURL
query TaxRatesCount {
taxRatesCount
}
curl -X POST "https://<api-host>/graphql" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
--data @- <<'EOF'
{
"query": "query TaxRatesCount {\n taxRatesCount\n}"
}
EOF
Response:
{
"data": {
"taxRatesCount": 0
}
}
taxRatesCount(
filters: TaxRateFiltersInput
): Int!
Arguments
taxRatesCount.filters ● TaxRateFiltersInput input
Optional filters. The same ones as taxRates.
Type
Int scalar
The Int scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.