I am working on a Public Application(Sales Channel), after getting published it stopped accessing all orders only providing the order which my app created.
I am facing some issue with permissions to fetch all shopify orders do anyone know why I am facing this behavior. I tried reinstalling the sales channel as well but it only get the orders which the app created after installation means I cant even access my previously created orders from the same app. Do anyone have any idea why I am facing such behavior. My app is categorized as a Marketplace App.
query {
orders(first: 10) {
edges {
cursor
node {
id
name
app {
name
}
}
}
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
}
}
Response
{
"data": {
"orders": {
"edges": [],
"pageInfo": {
"hasNextPage": false,
"hasPreviousPage": false,
"startCursor": null,
"endCursor": null
}
}
},
"extensions": {
"cost": {
"requestedQueryCost": 10,
"actualQueryCost": 2,
"throttleStatus": {
"maximumAvailable": 2000.0,
"currentlyAvailable": 1998,
"restoreRate": 100.0
}
}
}
}
Kindly help anyone