Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
{"query":"query { order(id: "gid://shopify/Order/*****") { name localizationExtensions(first: 100) { edges { node { key countryCode purpose title value } } }}}"}
We obtain the tax ID information of the order through the above interface. But I found a problem. Brazilian tax numbers can be obtained successfully, but Mexican tax numbers cannot be obtained. May I ask how to solve this problem.
Successfully retrieved data from data1, but when retrieving data from data2, the returned data was empty.
data1: CPF/CNPJ:00755720873
data2: RFC:BORO630127DU8
I was just looking for the same number but as you say the endpoint you mention doesn't include the RFC number on Mexican orders.
I noticed on the 2025-01 version of the GraphQL API there's a connection on the object order that's called localizedFields which supposedly should contain the same data, however when I try to query that version of the API it just returns 'bad request', regardless of what I query it with, so I haven't yet been able to see if that localizedFields connection contains the RFC number for Mexico.
If anyone knows where else I can find this number in the GraphQL API, I'd love to know, thank you!
Ok I managed to fix the bad request issue I had and indeed if you query
localizedFields(first: 100) {
nodes {
title
value
}
}
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024