Development discussions around Shopify APIs
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.
User | RANK |
---|---|
5 | |
5 | |
5 | |
4 | |
4 |
Learn these 5 things I had to learn the hard way with starting and running my own business
By Kitana Jan 27, 2023Would you love to unleash the unbridled power of the Google Shopping Channel into your sho...
By Gabe Jan 6, 2023How can you turn a hobby into a career? That’s what Emmanuel did while working as a wa...
By Skye Dec 30, 2022