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.

GraphQL get the translatableContent Digest for title?

GraphQL get the translatableContent Digest for title?

Fredydb
Shopify Partner
32 1 2

Hi! i'm beging with graphQL, trying to figure it out and aimed towards translation.
the question is the following:

 

How do you find the digest of the title for a given product?

 

The following returns the key and digest for all content (title, body..) where the result i am looking for is the digest when key = "title" . Thanks!

{
  translatableResource(resourceId: "gid://shopify/Product/6714657636439") {
    resourceId
    translatableContent {
      key
      digest
    }
  }
}

 

 

Replies 0 (0)