Discussing APIs and development related to customers, discounts, and order management.
Hi all,
I have an order with the following property:
"created_at": "2021-09-28T11:28:06-07:00",
But when I make the following query:
https://####.myshopify.com/admin/api/2021-04/orders.json?created_at_min=2021-09-27T00:00:00-07:00&created_at_max=2021-09-29T23:59:59-07:00
I receive an empty array. I assumed I was giving it enough room on either side of the query to account for unexpected timezone handling and such, so shouldn't this order definitely be returned here?
Thanks,
Brendan
Solved! Go to the solution
This is an accepted solution.
Never mind, I noticed that this was a "pos" order, and those don't appear in the API unless you include "?status=any" in the query. So I will call this "resolved", but maybe it will help others when they stumble upon this issue.
This is an accepted solution.
Never mind, I noticed that this was a "pos" order, and those don't appear in the API unless you include "?status=any" in the query. So I will call this "resolved", but maybe it will help others when they stumble upon this issue.