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)