Yash,
Make sure you’re getting the datetime format correct this works for us:
const created_at_min = moment(new Date()).format('llll');
Also you may have archived orders so you should specify the order status in params as well
Filter orders by their status.
(default: open)
- open: Show only open orders.
- closed: Show only closed orders.
- cancelled: Show only canceled orders.
- any: Show orders of any status, including archived orders.
Regards,
Sam