Solved

How to update translations for products with REST API

ProductFlowBV
Shopify Partner
1 0 0

Hello, I'm a developer at ProductFlow and we want to expand our shopify integration to work with translations. Considering we already largely use REST for updating products, it'd be nice to update translations with REST too. Any solution? Thanks.

Accepted Solution (1)

Liam
Shopify Staff
2731 302 777

This is an accepted solution.

Hi there ProductFlowBV,

 

Great to hear you're exploring translations. However, as of now, the ability to handle translations is only available through the GraphQL API. There is no REST API equivalent for this capability at this time, so you might need to consider adopting GraphQL for this specific feature.

 

As you might have already discovered, we have a comprehensive tutorial here that walks you through how to use the GraphQL API to enable locales, translate properties of a product, and publish the translation to a store. 

 

Hope this helps!

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

View solution in original post

Replies 2 (2)

Liam
Shopify Staff
2731 302 777

This is an accepted solution.

Hi there ProductFlowBV,

 

Great to hear you're exploring translations. However, as of now, the ability to handle translations is only available through the GraphQL API. There is no REST API equivalent for this capability at this time, so you might need to consider adopting GraphQL for this specific feature.

 

As you might have already discovered, we have a comprehensive tutorial here that walks you through how to use the GraphQL API to enable locales, translate properties of a product, and publish the translation to a store. 

 

Hope this helps!

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

freelancegerman
Shopify Partner
71 5 13

Hey Liam,

 

can we import via GraphQL Api the Translations to the Translate & Adapt App?

We have many Translated Data from other system. Our Problem now is, that we need to create many CSV to import manually. We want to automate this import. Via Rest API is not posibble.

I hope you understand our problem.

 

Thanks

Kind Regards