I have tried to create a filter to get all updated orders since date...
rest/V1/orders/searchCriteria[filter_groups][0][filters][0][field]=updated_at&searchCriteria[filter_groups][0][filters][0][value]=2018-01-01T14:01:54.9571247Z&searchCriteria[filter_groups][0][filters][0][condition_type]=gt
I get the following error
{ "message": "Invalid type for value: \"searchCriteria[filter_groups][0][filters][0][field]=updated_at&searchCriteria[filter_groups][0][filters][0][value]=2018-01-01T14:01:54.9571247Z&searchCriteria[filter_groups][0][filters][0][condition_type]=gt\". Expected Type: \"int\".", "trace": null }
I read this as ... cant use a date with a gt condition. How do I get the result I am looking for?
Thanks -Sean
Solved! Go to Solution.
This query parameter works perfectly if you remember to include the ? to start the query string. User error.
rest/V1/orders?searchCriteria[filter_groups][0][filters][0]...