I have a customer with tax details inserted (vatnumber)
Dettagli imposta
Partita IVA: 0000000001
Riscuoti imposta
how can i retrieve them with api?
I have a customer with tax details inserted (vatnumber)
Partita IVA: 0000000001
Riscuoti imposta
how can i retrieve them with api?
Hey @Luca_Pinasco,
I’m assuming you’re talking about the required tax fields that customers in some locations provide during checkout.
If so, you can access this data through the Admin GraphQL API using the localizedField connection
If not, can you share a little more information on where you are seeing the tax details in the admin? That will give us clues on the best way to get this from the API.
Hi,
No, vat number is inside Customer Area (https://admin.shopify.com/store/xxxx/customers/xxxxxxx), I think he can put this data during account creation.
In admin section I can see them on the right as wou can see here in the screenshot:
Hey @Luca_Pinasco
Thanks for your patience while I looked in to this. For context on the field, this is a field in the admin where a customers’ tax details can be added, however it’s not currently available through the API.
Can you share more details on how you were planning to use this field? I would like to pass that on to the product teams so they have a better understanding on how this would be used if they do make it available in the future.
+1 here, having that info exposed in the API would not only be great, it’s an absolute necessity in so many cases!
Any app relatade to invoicing for example, is legaly required to display the Tax ID.
We’ve been getting it through a custom metafield until now, but now that Shopify added the feature, people really don’t understand why it is asked twice.
We even had a case where another app needed it and used its own metafield as well, resulting in THREE different fields asking for the Tax ID, that we mitigated by adapting and using the other app’s metafield so we could remove ours, but still, it’s a really ugly solution to a problem that wouldn’t exist anymore if Shopify added the field into the GraphQL API.
We just need that number as a string.
IMPORTANT : We would need it to be stored and available in the Order object as well, to know what was the Tax ID of the customer at the moment of the purchase, in case it’s been changed or deleted in the Customer objet since then.
I really hope this task gets in the priority list on the TODO of the dev team