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.

Retrieve translatableResource for dynamic resourceID

Retrieve translatableResource for dynamic resourceID

Munteanu
Visitor
1 0 0

I am trying to retrieve translatable content for specific resource ID. 

Is it possible to pass the resourceId dynamically?

Is there another better way to do this?

 

{
translatableResource(resourceId: "gid://shopify/Product/6766123974721") {
resourceId
translatableContent {
key
value
digest
locale
}
}
}

Thanks

Replies 0 (0)