If I login as an admin user, how can I get details of customer and orders list with payment details using REST API in Magento2
Magento – Magento2 Rest api get admin customer details and orders
apicustomermagento2rest
apicustomermagento2rest
If I login as an admin user, how can I get details of customer and orders list with payment details using REST API in Magento2
Best Answer
Below is the script for order api.
Here, is the script for customer api,
Kindly note that you might need to do changes in API as per your requirement.
Also you will need to generate token from admin panel and put that token into script and also change url as per your project setup.