We have a sales channel where we requested permission to read_product_listings
to users. We use to call the REST api product_listings.json
However when trying to query:
query ($id: ID!) { product(id: $id) {
media(first: 15) { edges { node {
id alt mediaContentType
} } }
} }
We get the error Access denied for product field. Required access: read_products
access scope..
However we don’t need access to all products, just to products within the sales channel.
How can we get the product media with the read_product_listings
permission ?
Thank you