Skip to main content
added 6 characters in body
Source Link
Ronak Rathod
  • 6.5k
  • 18
  • 43

If anyone need to get Orders details with filters status and date range in rest API please use this API endpointIf anyone need to get Orders details with filters status and date range in rest API please use this API endpoint

/rest/V1/orders?searchCriteria[filter_groups][0][filters][0][field]=status&searchCriteria[filter_groups][0][filters][0][value]=processing&searchCriteria[filter_groups][0][filters][0][condition_type]=eq&searchCriteria[filter_groups][1][filters][0][field]=created_at&searchCriteria[filter_groups][1][filters][0][condition_type]=from&searchCriteria[filter_groups][1][filters][0][value]=2022-01-20%00:00:00&searchCriteria[filter_groups][2][filters][0][field]=created_at&searchCriteria[filter_groups][2][filters][0][condition_type]=to&searchCriteria[filter_groups][2][filters][0][value]=2022-03-22%00:00:00

/rest/V1/orders?searchCriteria[filter_groups][0][filters][0][field]=status&searchCriteria[filter_groups][0][filters][0][value]=processing&searchCriteria[filter_groups][0][filters][0][condition_type]=eq&searchCriteria[filter_groups][1][filters][0][field]=created_at&searchCriteria[filter_groups][1][filters][0][condition_type]=from&searchCriteria[filter_groups][1][filters][0][value]=2022-01-20%00:00:00&searchCriteria[filter_groups][2][filters][0][field]=created_at&searchCriteria[filter_groups][2][filters][0][condition_type]=to&searchCriteria[filter_groups][2][filters][0][value]=2022-03-22%00:00:00

If anyone need to get Orders details with filters status and date range in rest API please use this API endpoint

/rest/V1/orders?searchCriteria[filter_groups][0][filters][0][field]=status&searchCriteria[filter_groups][0][filters][0][value]=processing&searchCriteria[filter_groups][0][filters][0][condition_type]=eq&searchCriteria[filter_groups][1][filters][0][field]=created_at&searchCriteria[filter_groups][1][filters][0][condition_type]=from&searchCriteria[filter_groups][1][filters][0][value]=2022-01-20%00:00:00&searchCriteria[filter_groups][2][filters][0][field]=created_at&searchCriteria[filter_groups][2][filters][0][condition_type]=to&searchCriteria[filter_groups][2][filters][0][value]=2022-03-22%00:00:00

If anyone need to get Orders details with filters status and date range in rest API please use this API endpoint

/rest/V1/orders?searchCriteria[filter_groups][0][filters][0][field]=status&searchCriteria[filter_groups][0][filters][0][value]=processing&searchCriteria[filter_groups][0][filters][0][condition_type]=eq&searchCriteria[filter_groups][1][filters][0][field]=created_at&searchCriteria[filter_groups][1][filters][0][condition_type]=from&searchCriteria[filter_groups][1][filters][0][value]=2022-01-20%00:00:00&searchCriteria[filter_groups][2][filters][0][field]=created_at&searchCriteria[filter_groups][2][filters][0][condition_type]=to&searchCriteria[filter_groups][2][filters][0][value]=2022-03-22%00:00:00

Source Link
Rahul Katoch
  • 1.1k
  • 3
  • 13
  • 37

If anyone need to get Orders details with filters status and date range in rest API please use this API endpoint

/rest/V1/orders?searchCriteria[filter_groups][0][filters][0][field]=status&searchCriteria[filter_groups][0][filters][0][value]=processing&searchCriteria[filter_groups][0][filters][0][condition_type]=eq&searchCriteria[filter_groups][1][filters][0][field]=created_at&searchCriteria[filter_groups][1][filters][0][condition_type]=from&searchCriteria[filter_groups][1][filters][0][value]=2022-01-20%00:00:00&searchCriteria[filter_groups][2][filters][0][field]=created_at&searchCriteria[filter_groups][2][filters][0][condition_type]=to&searchCriteria[filter_groups][2][filters][0][value]=2022-03-22%00:00:00