Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

How to get all product related data translations

Solved

How to get all product related data translations

lucasfabric
Visitor
2 1 0

Hey everyone, 
I am checking all the REST and GraphQL APIS. I am wondering if it would be possible to obtain all information about one product by an API call, including all translation properties.

For example, I can use the translatableResource query to get a translation of one specific resource. The issue with this API is that I need to know the id of all resources (attributes) of my product and call the API for each one.

I want a way to get all the information about one product, such as attributes translations and basic product data. I want to download all the data related to one product to later process it, do analysis, metrics, and use the results as part of my internal marketing logic.

Does anyone know if would it be possible to get this data by calling a few endpoints?

Thank you very much

Accepted Solution (1)

lucasfabric
Visitor
2 1 0

This is an accepted solution.

Reply 1 (1)

lucasfabric
Visitor
2 1 0

This is an accepted solution.

Looks like we need to do multiple requests, here is the possible solution: https://community.shopify.com/c/shopify-apis-and-sdks/request-all-translation-locales-of-a-product-a...