Fillter Orders by updated_at_min

Solved
MarkusJC
New Member
2 1 0

Hi,
i am new to the REST API and we try to filter Orders, changed since to get every day the changed orders.
When i filter them by :  admin/api/2021-07/orders.json?status=any
everything works fine. 

But with :
admin/api/2021-07/orders.json?updated_at_min=2021-09-01T01:00:00-05:00

i get an empty result.  But Status Code 200.
We can see, that there a changed ordery after 2021-09-01T01:00:00-05:00, but nothing happens.

Has anyone an idea whats wrong?

Markus

0 Likes
MarkusJC
New Member
2 1 0

This is an accepted solution.

oook,

i found a solution for us in an other post.
When i combine the parameters with "status=any", then it works.

admin/api/2021-07/orders.json?updated_at_min=2021-09-01T01:00:00-05:00
and it get an empty result.

but with:
admin/api/2021-07/orders.json?status=any&updated_at_min=2021-09-01T01:00:00-05:00
i get the orders, changed after 2021-09-01.

 

0 Likes