What's your biggest current challenge? Have your say in Community Polls along the right column.
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.

Filter updated_at don't work on retrieving orders list

Filter updated_at don't work on retrieving orders list

Servitel
Tourist
12 1 2

I need to retrieve orders updated at a date. I try to use the filter "updated_at" but shopify return 0 orders. I just put this filter on API call like this ?updated_at=2021-11-04

If I add &status=any I receive ALL orders: apparently updated_at filters is ignored

For me the best solutions is filtering by closed_at, but this filter is not implemented.......

Reply 1 (1)

Servitel
Tourist
12 1 2

UPDATE

After googling 2 hours I have added "status=closed" and I'm able to retrieve orders.

At this point I'm in trouble because "updated_at" filter return all orders without filtering for the given date. I have tried the date only "2021-11-04" and full format "2021-11-04T00:00:00+01:00". Same result: all orders without filtering

 

I have tried "updated_at_min" (best filter for me) but don't work

 

The filter "updated_at_min" work fine if I use orders/count.json. But I receive back just orders count. Very crazy !

I cant think i cant get one day order list with API !

 

Any suggestions are welcome