updateJurisdiction
View as MarkdownUpdate an existing jurisdiction.
mutation
Requires commerce.tax:write.
Update an existing jurisdiction.
Required headers
| Header | Required | Description |
|---|---|---|
x-store-id | Yes | ID of the store the operation targets. Omitting it returns HTTP 200 with a GraphQL error: extensions.code: "UNAUTHENTICATED". |
Go to Authentication for credential setup.
Arguments
idID!required — The ID of the jurisdiction to be updated.inputMutationUpdateJurisdictionInput!requiredadminArea1Stringoptional — The highest level sub-division in a country, which is usually a province, state, or ISO-3166-2 subdivision; formatted for postal delivery.adminArea2Stringoptional — The city, town, or village. Smaller thanadminArea1.adminArea3Stringoptional — The sub-locality, suburb, neighborhood, or district. Smaller thanadminArea2.adminArea4Stringoptional — The neighborhood, ward, or district. Smaller thanadminArea3.countryCodeStringoptional — The two-character ISO 3166-1 code that identifies the country or region.postalCodeStringoptional — The postal code, which is the zip code or equivalent.
Possible returns
JurisdictionJurisdiction— A geographic area or "zone" in which a rate or set of rates applies.
Last updated on
How is this guide?