taxJurisdictionCountries
query · in the family Reading your records
What it does
The countries with a live tax-jurisdiction tree — what the tax page’s country picker offers.
The live tax-jurisdiction country roster: the ISO 3166-1 alpha-2 codes of every seeded canonical country tree, from the ONE self-maintaining registry row the country-mint path grows — the office dropdown can never drift from the live trees again. Sorted; an unseeded estate answers the honest empty list. Requires authentication.
Before you call
A bearer session from an API key (see Authentication and key hygiene) or a signed-in user.
Capability area: Reading your records — Looking up and listing the records of your organization.
Roles that may call it:
- Owner
- System Administrator
- Manager
- Associate Manager
- Warehouse Associate
- Sales Associate
- An API key whose scope allows
api:taxJurisdictionCountries
What happens
Reads one platform registry row; grows by itself when a new country tree is seeded.
Returns
String [String!]! — Text.
Example request
query ExampleTaxJurisdictionCountries {
taxJurisdictionCountries
}Example response
{
"data": {
"taxJurisdictionCountries": [
"<tax jurisdiction countries>"
]
},
"extensions": {
"at": {
"callId": "01EXAMPLE-CALL-ID",
"version": {
"requested": null,
"serviced": {
"name": "genesis",
"number": 0
}
}
}
}
}Errors this call can answer
VALIDATION/INVALID— Something in the request is not valid. Retry: no. (VALIDATION)AUTHN/REQUIRED— Sign in to do this. Retry: no. (AUTHN)AUTHZ/FORBIDDEN— Your role does not allow this action. Retry: no. (AUTHZ)RATE_LIMIT/THROTTLED— Too many requests in a short time. Retry: yes. (RATE_LIMIT)