Development discussions around Shopify APIs
Hi shopify guru,
How do I use Product Listings API retrieve products with title and body_html in different language. I.e., we have a French merchant partner and its site has French and English language options. However product listings API only returns with the French version. Is there a way to specify language/locale?
Hey @chengdu
Alas, I can report that there are no translations available on the REST API. However they are available via the GraphQL Admin API, and it's also possible via the Storefront API to switch languages by passing an Accept Language: x header. No specific resource for Product Listing in the GraphQL API though, but the closest comparable resource in GraphQL would be the Publishable interface. Hope that at least explains more!
User | RANK |
---|---|
11 | |
6 | |
5 | |
5 | |
5 |
Learn these 5 things I had to learn the hard way with starting and running my own business
By Kitana Jan 27, 2023Would you love to unleash the unbridled power of the Google Shopping Channel into your sho...
By Gabe Jan 6, 2023How can you turn a hobby into a career? That’s what Emmanuel did while working as a wa...
By Skye Dec 30, 2022