I am trying to create an api query that will grab all orders within the last 7 days. However, I cannot figure this out. I have found repeated examples of grabbing orders using created_at. But that does not appear to work as I’d need to enter specific dates.
When I go to my dashboard on Shopify, I can grab orders within the last week and this is the url for that:
/admin/orders?inContextTimeframe=today&processed_at=past_week
I have been unsuccessful in getting this to work in an api query and am curious if anyone knows a way.