#StackBounty: #magento2 #magento-2.1 #magento2.2 #rest-api #magento2-api Implement Custom REST API end point returns list of best selli…

Bounty: 50

I have an assignment from clients to implement Custom REST API end point returns list of best selling products.

Which I have done here

Supports pagination, sort and filter

  • can be filtered by date range (month, year)
  • can filter only discounted products (has special price)
  • can sort by total sales(qty_ordered).

Anyone could provide a better solution or point me bugs from this, thank alot.

I would like to display qty_ordered on each response item form api, any idea for extension attributes?


Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.