Getting Comment Event Attachment

Highlighted
New Member
2 0 0

I am having trouble accessing order comment attachments via GraphQL.

https://shopify.dev/docs/admin-api/graphql/reference/object/commentevent/commenteventattachment

 

I get as far as getting that comments are present, but not their details, such as attachments.

query {
  currentAppInstallation {
    id
  }

  order(id: "gid://shopify/Order/#"){
        id
        createdAt
        hasTimelineComment
   
        events(first: 10) {
          edges {
            node {
              __typename
              id
              message
            }
      }
    }
  }
}

Any advice on how to get commenteventattachment? Thank you.

0 Likes
Highlighted
Shopify Staff
Shopify Staff
1040 140 165

Hey @djdy1892 

 

Are you able to capture a request ID from the response headers?

0 Likes