--- title: companyLocationAssignTaxExemptions - GraphQL Admin description: Assigns tax exemptions to the company location. api_version: 2025-01 api_name: admin type: mutation api_type: graphql source_url: html: >- https://shopify.dev/docs/api/admin-graphql/2025-01/mutations/companyLocationAssignTaxExemptions md: >- https://shopify.dev/docs/api/admin-graphql/2025-01/mutations/companyLocationAssignTaxExemptions.md --- # company​Location​Assign​Tax​Exemptions mutation Requires `write_customers` access scope or `write_companies` access scope. Also: The API client must be installed on a Shopify Plus store. Deprecated. Use [companyLocationTaxSettingsUpdate](https://shopify.dev/docs/api/admin-graphql/latest/mutations/companyLocationTaxSettingsUpdate) instead. Assigns tax exemptions to the company location. ## Arguments * company​Location​Id [ID!](https://shopify.dev/docs/api/admin-graphql/2025-01/scalars/ID) required The location to which the tax exemptions will be assigned. * tax​Exemptions [\[Tax​Exemption!\]!](https://shopify.dev/docs/api/admin-graphql/2025-01/enums/TaxExemption) required The tax exemptions that are being assigned to the location. *** ## Company​Location​Assign​Tax​Exemptions​Payload returns * company​Location [Company​Location](https://shopify.dev/docs/api/admin-graphql/2025-01/objects/CompanyLocation) The updated company location. * user​Errors [\[Business​Customer​User​Error!\]!](https://shopify.dev/docs/api/admin-graphql/2025-01/objects/BusinessCustomerUserError) non-null The list of errors that occurred from executing the mutation. *** ## Examples * ### companyLocationAssignTaxExemptions reference ## Mutation Reference ```graphql mutation companyLocationAssignTaxExemptions($companyLocationId: ID!, $taxExemptions: [TaxExemption!]!) { companyLocationAssignTaxExemptions(companyLocationId: $companyLocationId, taxExemptions: $taxExemptions) { companyLocation { # CompanyLocation fields } userErrors { field message } } } ``` ## Input ##### Variables ```json { "companyLocationId": "gid://shopify//10079785100", "taxExemptions": [ "CA_STATUS_CARD_EXEMPTION" ] } ```