Hello everyone,
I’ve been trying to use the TastyIgniter API to filter orders by a specific date, but I’m encountering some issues. I followed the documentation and tried to filter orders by the order_date field using the following endpoint:
orders?filter[status_id]=1&filter[order_date]=2023-09-21T00:00:00.000000Z
However, this doesn’t seem to work as expected. Instead of getting orders only from the specified date, I’m getting all results.
To narrow down the results to a specific 24-hour period, I also tried using the gte and lte operators like this:
orders?filter[status_id]=1&filter[order_date][gte]=2023-09-21T00:00:00.000000Z&filter[order_date][lte]=2023-09-21T23:59:59.000000Z
But this approach didn’t work either.
Has anyone else faced a similar issue? Is there a specific format or method to filter orders by date that I might be missing? Any guidance or suggestions would be greatly appreciated.
Thank you in advance for your help!