Top Selling Products
Get the top 10 best-selling products based on total quantity sold.Endpoint
Response
Returns an array of products ranked by quantity sold.Product ID
Product name
Total quantity sold across all sales
Sales by Month
Get sales totals grouped by month.Endpoint
Response
Returns monthly sales aggregation with total revenue per month.Month identifier (format determined by backend implementation)
Total sales amount for the month
Total Sales Revenue
Get the total revenue from all sales.Endpoint
Response
Returns a single numeric value representing the sum of all sale totals.Total sales revenue across all transactions
Use Cases
Inventory Management
Use the top-selling products endpoint to:- Identify fast-moving inventory
- Plan restocking schedules
- Optimize warehouse space allocation
- Forecast demand for popular items
Financial Reporting
Use the monthly sales and total revenue endpoints to:- Generate monthly performance reports
- Track revenue trends over time
- Calculate year-over-year growth
- Prepare financial statements
Business Intelligence
Combine these analytics endpoints to:- Identify seasonal sales patterns
- Analyze product performance
- Make data-driven purchasing decisions
- Set sales targets and KPIs
Notes
- The top products endpoint returns a maximum of 10 products
- Sales totals include IGV (18% tax)
- Monthly aggregation uses the
fechaVentafield from sale records - All monetary values are in the system’s base currency