Anchor to companyLocationAssignTaxExemptionscompany
companyLocationAssignTaxExemptions
mutationDeprecated
Requires access scope or
access scope. Also: The API client must be installed on a Shopify Plus store.
Assigns tax exemptions to the company location. Use instead.
Anchor to Arguments
Arguments
- Anchor to companyLocationIdcompany•
Location Id ID!required The location to which the tax exemptions will be assigned.
- Anchor to taxExemptionstax•
Exemptions [TaxExemption!]! required The tax exemptions that are being assigned to the location.
Was this section helpful?
Anchor to CompanyLocationAssignTaxExemptionsPayload returnsCompanyLocationAssignTaxExemptionsPayload returns
- Anchor to companyLocationcompany•
Location The updated company location.
- Anchor to userErrorsuser•
Errors [BusinessCustomer non-nullUser Error!]! The list of errors that occurred from executing the mutation.
Was this section helpful?
Mutation Reference
mutation companyLocationAssignTaxExemptions($companyLocationId: ID!, $taxExemptions: [TaxExemption!]!) {
companyLocationAssignTaxExemptions(companyLocationId: $companyLocationId, taxExemptions: $taxExemptions) {
companyLocation {
# CompanyLocation fields
}
userErrors {
field
message
}
}
}
Input
{
"companyLocationId": "gid://shopify/<objectName>/10079785100",
"taxExemptions": [
"CA_BC_COMMERCIAL_FISHERY_EXEMPTION"
]
}
{
"companyLocationId": "gid://shopify/<objectName>/10079785100",
"taxExemptions": [
"CA_BC_COMMERCIAL_FISHERY_EXEMPTION"
]
}