Team,
is there a way i can associated the tax calculation at checkout with a user based on their tag? I want to exclude the tax calculation for certain users during checkout with a tag while keeping the tax calculation for user users who dont have a specific tag associated.
Thanks for the support
Christine
Hi Christine,
Are you looking to prevent taxes from being applied to specific customers? If so there’s a customerAddTaxExemptions mutation that you could use for this purpose.
Oh yes, this looks promising. Thanks for that! Is this only working as a static list of customers or could I make it dynamic, e.g. associate customers dynamically based on their tag? and last question, how would I integrate this 
This mutation works on a static basis, meaning you’d need to specify the exact customer ID and tax exemptions to apply. It doesn’t inherently support dynamic operations like associating customers based on tags. However - you could make the process less manual by querying customers on your store to get all customers that have a specific tag, and then running the mutation on all these returned customers.
You could also use a server-side script or app to periodically schedule this to run daily so the process is automated. To integrate this, you could create a custom app via the CLI for your store that performs this process.
It could also be worth checking if Shopify Flow supports this: https://help.shopify.com/en/manual/shopify-flow