We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Setting customer VAT using Admin API

Setting customer VAT using Admin API

CptWeirdo
Visitor
2 0 0

Is it possible to set customer VAT number using graphQL Admin API? I can only find tax exemptions on the input object =(

Reply 1 (1)

Lia24
Visitor
2 0 0

Hey there! 

At the moment, Shopify’s GraphQL Admin API doesn't support directly setting a customer’s VAT number. What you can do is mark a customer as tax-exempt (which helps with handling tax rules), but the actual VAT number itself isn’t a built-in field you can set through the API just yet.

If you're looking to store the VAT number somewhere, a common workaround is to use a customer note, metafield, or a custom app field to hold that info for internal reference.

Hope that helps clear it up a bit!