$ch = curl_init("http:// magento213/index.php/rest/V1/integration/admin/token");
Customer info: GET: '/V1/customers/{customerId}'. We can ...
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
Get all orders a customer has made with REST API · http://
Ideally next request must be valid to get all orders $this->get('rest/V1/orders');. But you get error instead {"message":"%fieldName is a required field.
GET
My URL sends all orders created, even ones from 2014. What is wrong with my URL? /rest/V1/orders?searchCriteria[filter_groups][0][filters][0][field]= ...
Recently i had to fetch order information using the Magento 2 API, and to be more specific:
Get All Orders. GET
You can try with this code. Magento_host + /rest/V1/orders/searchCriteria=0.