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.
Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...
By Jacqui Mar 10, 2023Upskill and stand out with the new Shopify Foundations Certification program
By SarahF_Shopify Mar 6, 2023One of the key components to running a successful online business is having clear and co...
By Ollie Mar 6, 2023