Anchor to companyLocationTaxSettingsUpdatecompany
company Location Tax Settings Update
mutation
Requires access scope or
access scope. Also: The API client must be installed on a Shopify Plus store.
Sets the tax settings for a company location.
Anchor to Arguments
Arguments
- Anchor to companyLocationIdcompany•
Location Id ID!required The ID of the company location that the tax settings get assigned to.
- Anchor to exemptionsToAssignexemptions•
To Assign The list of tax exemptions to assign to the company location.
- Anchor to exemptionsToRemoveexemptions•
To Remove The list of tax exemptions to remove from the company location.
- Anchor to taxExempttax•
Exempt Whether the location is exempt from taxes.
- Anchor to taxRegistrationIdtax•
Registration Id The unique tax registration ID for the company location.
Was this section helpful?
Anchor to CompanyLocationTaxSettingsUpdatePayload returnsCompany Location Tax Settings Update Payload returns
- Anchor to companyLocationcompany•
Location The company location with the updated tax settings.
- Anchor to userErrorsuser•
Errors [BusinessCustomer User Error!]!non-null The list of errors that occurred from executing the mutation.
Was this section helpful?
Mutation Reference
1mutation companyLocationTaxSettingsUpdate($companyLocationId: ID!, $exemptionsToAssign: [TaxExemption!], $exemptionsToRemove: [TaxExemption!], $taxExempt: Boolean, $taxRegistrationId: String) {2 companyLocationTaxSettingsUpdate(companyLocationId: $companyLocationId, exemptionsToAssign: $exemptionsToAssign, exemptionsToRemove: $exemptionsToRemove, taxExempt: $taxExempt, taxRegistrationId: $taxRegistrationId) {3 companyLocation {4 # CompanyLocation fields5 }6 userErrors {7 field8 message9 }10 }11}
Input
1{2 "companyLocationId": "gid://shopify/<objectName>/10079785100",3 "exemptionsToAssign": [4 "AUSTRALIA_RESELLER_EXEMPTION"5 ],6 "exemptionsToRemove": [7 "AUSTRALIA_RESELLER_EXEMPTION"8 ],9 "taxExempt": true,10 "taxRegistrationId": "<your-taxRegistrationId>"11}
{
"companyLocationId": "gid://shopify/<objectName>/10079785100",
"exemptionsToAssign": [
"AUSTRALIA_RESELLER_EXEMPTION"
],
"exemptionsToRemove": [
"AUSTRALIA_RESELLER_EXEMPTION"
],
"taxExempt": true,
"taxRegistrationId": "<your-taxRegistrationId>"
}