Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Updated_at_min filter not working properly while fetching orders on API VERSION 2020-01

Updated_at_min filter not working properly while fetching orders on API VERSION 2020-01

EstoreAutomate
Shopify Partner
22 0 1

Hi,

We have recently migrated our app to the new API Version "2020-01". It seems working fine, But we have figured out one serious issue.  We usually call the orders  with the updated_at_min filter like below:

"https://XXXXYYZZZ.myshopify.com/admin/api/2020-01/orders.json?updated_at_min=2020-03-23T10:00:00+05:30&limit=250&status=any"


When we call the order like this, It is missing the orders which are updated at between  "2020-03-23T10:00:00"  and "2020-03-23T12:00:00".

I tried fetching the orders with the 2019 API version and I was able to fetch every order.

Please let me know, what I did wrong? Why some of the orders fetching in the 2019 version but not in the 2020 version.

Replies 4 (4)

_JB
Shopify Staff (Retired)
836 100 223

Hey @EstoreAutomate,

 

Can you kindly provide the X-Request-ID value from the response header of one of your calls where you got back unexpected results? I tried replicating on my end but wasn't able to see the issue, so I can use the request id to find your call in our logs and hopefully see more details there.

JB | Solutions Engineer @ Shopify 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

EstoreAutomate
Shopify Partner
22 0 1

Hi @_JB 

This is the X-Request-ID of the call with 2019-04 API Version - "243d57ad-2858-46e2-a4a9-9b6ad9295a77"
And, This is the X-Request-ID of the call with "2020-01" API Version  - "744beb49-34a1-4d9c-9c33-3d9223362c9d".

Please let me know if you need anything else.

Thanks,

EstoreAutomate
Shopify Partner
22 0 1

Hello @_JB 

Any Update on this? 

Thanks,

EstoreAutomate
Shopify Partner
22 0 1

Hello @_JB,

As we are approaching the deadline, Could you please provide the solution as soon as possible? Otherwise, I am afraid we cannot able to migrate our app before July 1st.

Thanks,