Quantcast
Channel: Opinion: Shopify Community - Shopify APIs & SDKs
Viewing all articles
Browse latest Browse all 25503

/admin/orders.json endpoint is STILL returning INCORRECT results by Arian Solberg

$
0
0

Hello - I CONTINUE to have issues the shopify API. I am making a very simple calls and getting incorrect and confusing results

curl -k -u "MYUSERNAME:MYPASSWORD" https://mydomain.myshopify.com/admin/orders.json?created_at_min=2014-07-01%2003:00

{"orders":[]}

As you can see it returns 0 orders even though I have received 10 orders this month. If I expand this range to go all the way back to march then it does return some orders I get 2 records with the following dates :

curl -k -u "MYUSERNAME:MYPASSWORD" https://mydomain.myshopify.com/admin/orders.json?created_at_min=2014-03-01%2003:00

"created_at":"2014-03-15T16:32:39-07:00"

id: 244740365

"created_at":"2014-03-25T07:45:50-07:00"

id: 248628189

 

Furthermore according to my shopify dashboard the most recent order that came in has a shopify ID of 1348. So the following query should give NO results but it in fact gives 2. The SAME 2 as above:

curl -k -u "MYUSERNAME:MYPASSWORD" https://mydomain.myshopify.com/admin/orders.json?since_id=1348

"created_at":"2014-03-15T16:32:39-07:00"

id: 244740365

2014-03-25T07:45:50-07:00

id: 248628189

 

This is clearly not correct. I need some developer support on this one.

 

 


Viewing all articles
Browse latest Browse all 25503

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>