Where can i find the rest api for my orders and my downloadable products in magento2. I can't find the list in the swagger file.
eg:
GET /orders/me
GET /downloadableproducts/me
Or how can i filter it based on existing api
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.
Sign up to join this communityBy default magento doesn't have API that allows to customer get his own orders.
You can find all available order's API requests in
vendor/magento/module-sales/etc/webapi.xml
.
But you can use endpoint GET /V1/orders
for that - just pass customer_id with searchCriteria and it will return all needed orders.
Magento_Sales::sales
. github.com/magento/magento2/blob/2.2.5/app/code/Magento/Sales/… – user2868 Jul 31 '18 at 21:29