Access denied in Admin API GraphQL App

Thanks for the great advice C10s! Turns out I had to reinstall the GraphQL app, not the custom app. And I found out how to query orders with only the customer’s email:

query {
customers(first:1, query:“email:'admin9@admin9.com”) {
edges {
node {
orders(first: 20) {
edges {
node {
id
createdAt
subtotalLineItemsQuantity
subtotalPriceSet {
shopMoney {
amount
}
}
displayFulfillmentStatus
shippingAddress {
address1
}
billingAddress {
address1

}
lineItems(first: 20) {
edges {
node {
variantTitle
quantity
originalUnitPriceSet {
shopMoney {
amount
}
}
}
}
}
}
}
}
}
}
}
}