Skip to content

rest-api

Auto Added by WPeMatico

API searchCriteria FROM and TO for “created_at” not fatching the right results

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&… Read More »API searchCriteria FROM and TO for “created_at” not fatching the right results

REST API – probe error

how to get orders that are older than 1 hour from the current time. When I type NOW() -60, I get an internal error, log file never existed.