3

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

0

By 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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.