Solved

Rest API orders filtering by created date

Tihomir_Sokolov
Shopify Partner
3 1 0

Hi, I want to set a cron in my app that verifies that I do not miss any order from the past day.
But Rest API gives me orders from today too.
Any ideas?
orders.json?created_at_max=2024-02-18T00:00:00+02:00&created_at_min=2024-02-17T00:00:00+02:00&fields=id,created_at

Tihomir_Sokolov_0-1708243550377.png

 

Accepted Solution (1)

Tihomir_Sokolov
Shopify Partner
3 1 0

This is an accepted solution.

Strange, maybe my mistake that I did not specify, in the test store not working but in the real one is working .. sorry, the issue is closed 🙂

View solution in original post

Reply 1 (1)

Tihomir_Sokolov
Shopify Partner
3 1 0

This is an accepted solution.

Strange, maybe my mistake that I did not specify, in the test store not working but in the real one is working .. sorry, the issue is closed 🙂