Access a community of over 900,000 Shopify Merchants and Partners and engage in meaningful conversations with your peers.
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 |
---|---|
6 | |
5 | |
5 | |
4 | |
4 |