GraphQL Query does not pull SEO title and Description of Product

New Member
1 0 0

I was trying to fetch some products using GraphQL on a PHP project. The GraphQL query does pull all the information except SEO title and description. This is my GraphQL query: 

$query = "
            {
                nodes(ids:  $mylist ) {
                ... on Product {
                    id
                    title
                    handle
                    seo
                    featuredImage {
                      originalSrc
                    }
                    totalInventory
                    vendor
                    onlineStorePreviewUrl
                    priceRange{
                    maxVariantPrice{
                        currencyCode
                        amount
                        }
                    }
                    }
                }
            }
        ";

Can anyone help to suggest what am i doing wrong? 

0 Likes