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.

Fillter Orders by updated_at_min

Solved

Fillter Orders by updated_at_min

MarkusJC
Visitor
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

Accepted Solution (1)

MarkusJC
Visitor
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.

 

View solution in original post

Reply 1 (1)

MarkusJC
Visitor
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.