Using this query, I’m only getting orders from recent months. When I try to search for orders created in January of 2025, I’m getting no data returned. The only thing that changes is the date and I specify the date as 2025-01-16T00:00:00Z and 2025-01-16T23:59:59Z.
let query = `{
orders(first: 250, query:"created_at:>=${start} AND created_at:<${end}, delivery_method:shipping") {
edges {
node { id }
cursor
}
pageInfo {
hasNextPage
}
}
}`;