Hello
I'm trying to make a GET request to find out everything a customer has purchased.
I'm using the following query to get all orders ever made, but can't figure out how to sort out only specific ones made by customer_id = 1 for example, or email=someone@test.com.
http://<host>/rest/V1/orders?searchCriteria
Thanks in advance
Edit: Nevermind, figured it out;
http://<host>/rest/V1/orders?searchCriteria[filterGroups][][filters][][field]=customer_email&searchCriteria[filterGroups][0][filters][0][value]=someone@test.com