I need to pull return label information from a batch of orders under a certain tag and I have the following graphiql Code written:
query
{orders(first:100, query:"-node.tags[0]:Program Office 2023")
{
edges {
node {
id
currencyCode
customerLocale
email
phone
processedAt
shippingAddress {
address1
address2
city
company
country
countryCode
firstName
formatted
formattedArea
lastName
name
phone
province
provinceCode
zip
}
fulfillments {
trackingInfo {
company
number
url
}
status
}
returns{
edges{
node{
reverseFulfillmentOrders {
edges {
node {
id
}
}
}
}
}
}
}
}
}
}
and I keep getting this response: “code”: “ACCESS_DENIED”,
“documentation”: “https://shopify.dev/api/usage/access-scopes”
I re-installed the GraphiQL app and gave it all the permissions when I noticed the returns permissions are missing. Is there a way to give me access to the returns data? I know the admin API grants access to it why doesn’t the GraphiQL app??
Thanks for your help