Im trying to get data for orders that created between 2 dates(2023-10-05 – 2023-10-01).
Im using the search condition type FROM and TO but its not fetching the right details.
This is what im trying:
rest/default/V1/orders?
searchCriteria[filterGroups][0][filters][0][field]=created_at&
searchCriteria[filterGroups][0][filters][0][value]=2023-10-01&
searchCriteria[filterGroups][0][filters][0][conditionType]=from&
searchCriteria[filterGroups][0][filters][1][field]=created_at&
searchCriteria[filterGroups][0][filters][1][value]=2023-10-05&
searchCriteria[filterGroups][0][filters][1][conditionType]=to
im getting all orders from the website with no filter.
What am i doing wrong?