rrabinovitch / rails_engine_rr

ReST API for sales data
0 stars 0 forks source link

Business intelligence: Revenue across Date Range endpoint #11

Open rrabinovitch opened 3 years ago

rrabinovitch commented 3 years ago

This endpoint should return the total revenue across all merchants between the given dates.

The URI should follow this pattern: GET /api/v1/revenue?start=<start_date>&end=<end_date>

NOTE: Only paid invoices should be counted in revenue totals or statistics. A paid invoice has at least one successful transaction.

rrabinovitch commented 3 years ago

Screen Shot 2020-08-30 at 2 48 08 AM

rrabinovitch commented 3 years ago

related slack thread