Hello,
My session has unauthenticated_read_product_listings scope and when I run the graphql query below:
const client = new Shopify.Clients.Graphql(session.shop, session.accessToken);
await client.query({
data: `{
products (first: 10) {
edges {
node {
id
title
}
}
}
}`,
});
It always throws ‘Access denied for products field’ errors. Can anyone advise me on what I’m doing wrong? Thank you