I am trying to build dashboards for our Logistics team. Basically, What I am trying to do is I try to fetching the data using Shopify Order API and show with graph how many Orders are delay to fulfilled. I just found out one thing when I am using Shopify Order API. Some of the orders are missing when I try to get the data from API.
First, I try to get total orders in specific date and I got 69.
Then, I got only 68 orders. I try to look at Shopify Admin and fetching the data it also show 69. One order is missing and it created date is also Nov 25.
Why that order is missing? Any suggestion on API usage?
we check json for that missing order and also Shopify admin panel as well. We found that order and also that order created_at is Nov 25 as well. But it is missing in above api.
I have no idea why that is happening. Do you think can we trust SHopify admin api?
@Jivan_Suhagiya Yes. I can get that order with specific id. Also look at the created_at and it show Nov 25. But missing that order when I call api with date range.
Hi, i am encounter the same issue as @zack-schulfler , i have executed the admin api “admin/api/2021-04/orders/count.json?financial_status=paid&fulfillment_status=unshipped&created_at_min=2021-07-13T10:00:00+08:00” to retrieve the no of orders which return me 5 orders. However, when i execute “/admin/api/2021-04/orders.json?financial_status=paid&fulfillment_status=unshipped&created_at_min=2021-07-13T10:00:00+08:00”, i only manage to get 2 orders.
I found that if i use my created_at_min=2021-07-13T02:00:00+08:00, i manage to get the 5 transactions, anyone can advise. Thanks in advance
Rest API ignores timezone. If you want to have a timezone, you have to process the time manually (or through your code) before you request from the server.
I.e change 2021-01-01T10:00:00+05:00 to 2021-01-01T05:00:00.
My software pulls every order year to date can’t be timezone. Misses one or two orders clearly in date range no reason why that I can see for the specific missing orders. Any suggestions?
Hi ,
To me it just seems like the admin api is not stably reliable, if this little issue cannot be attended to then there will be trust issue with shopify.
Note that i am also encountering this right now. i have not found result yet from shopify and this is sad to have not respond positively or negatively to clear the mind of the customer from any doubt.