Skip to content
gist.link ↗

createTaxRegion

Mutation Settings API — POST https://settings.api.gist.link/graphql

Add a region the organization does business in. ROLE_ADMIN.

settings:mutation:createTaxRegion

The calling IAM key must hold this permission (or a wildcard that covers it: settings:mutation:* or settings:*) and the access token must have been minted with audience=settings. See Permissions.

type Mutation {
createTaxRegion(input: TaxRegionInput!): TaxRegion!
}
Argument Type Required Description
input TaxRegionInput! Yes —

TaxRegion! — see the Settings types reference.

Terminal window
curl https://settings.api.gist.link/graphql \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d @- <<'JSON'
{
"query": "mutation CreateTaxRegion($input: TaxRegionInput!) { createTaxRegion(input: $input) { uuid created_at updated_at } }",
"variables": {
"input": {
"country_code": "example",
"state_region": "example",
"legal_name": "Example"
}
}
}
JSON