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

chengdu
Tourist
11 0 1

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?

0 Likes
L_J_K
Shopify Staff
Shopify Staff
152 15 24

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!

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