Product Listings API retrieve products with title and body_html in different language

chengdu
Tourist
11 0 2

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?

Reply 1 (1)
Luke_K
Shopify Staff
Shopify Staff
402 65 92

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!

| Shopify |
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution!