GraphQL get the translatableContent Digest for title?

Fredydb
Shopify Partner
29 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)