I need to fetch orders that were cancelled within a particular date range:
This is my graphql query:
query {
orders(first: 1, query:"cancelled_at:>2020-09-10") {
edges {
node {
id
name
cancelledAt
totalPriceSet {
shopMoney {
amount
}
}
}
}
}
}
This is the data I’m getting back:
"data": {
"orders": {
"edges": [
{
"node": {
"id": "gid://shopify/Order/1480320003",
"name": "1020",
"cancelledAt": null,
"totalPriceSet": {
"shopMoney": {
"amount": "49.0"
}
}
}
}
]
}
},
The returned order was never even cancelled.
Is this a bug or am I doing something wrong?
Thanks!