cancel
Showing results for 
Search instead for 
Did you mean: 

Retrieve orders by customer REST API

Retrieve orders by customer REST API

Is there an API call for retrieving all orders for specific customer? There is one in the admin-only template but it would be better to do it with a customer specific token. I can always write one but I would prefer for it to already exist.

Tags (1)
1 REPLY

Re: Retrieve orders by customer REST API

Hello mfsole,

There is no any default REST API in Magento. You have to create your own REST API. We have the same problem but we create our own REST API same as your requirement.

 

If you want to know the basics of creating a REST API in Magento2 the let me now.

 

Thanks.