App reviews, troubleshooting, and recommendations
Hi,
Is there a way to get a list of countries using graphql without using any external API?
Thanks!
Hi @wayforward ,
This might be what you are looking for https://shopify.dev/docs/api/storefront/2024-07/queries/localization
query AllLocalizations @inContext(language: EN) {
localization {
availableCountries {
isoCode
name
availableLanguages {
isoCode
endonymName
}
}
}
}
If our suggestions are useful, please let us know by giving it a like, marking it as a solution.
MIDA: Heatmap, Record & Replay |BLOOP Referral Program, Reward |
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
Hi @wayforward ,
It's same. Is this what you were looking for? It return a list of available locales.
https://shopify.dev/docs/api/admin-graphql/2024-07/queries/availableLocales
If our suggestions are useful, please let us know by giving it a like, marking it as a solution.
MIDA: Heatmap, Record & Replay |BLOOP Referral Program, Reward |
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
these are languages I guess
can you share the graphiql query?
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025