Open rrabinovitch opened 3 years ago
This endpoint should return a variable number of merchants ranked by total number of items sold:
The URI should follow this pattern: GET /api/v1/merchants/most_items?quantity=x
GET /api/v1/merchants/most_items?quantity=x
where x is the number of merchants to be returned.
x
NOTE: Only paid invoices should be counted in revenue totals or statistics. A paid invoice has at least one successful transaction.
This endpoint should return a variable number of merchants ranked by total number of items sold:
The URI should follow this pattern:
GET /api/v1/merchants/most_items?quantity=x
where
x
is the number of merchants to be returned.NOTE: Only paid invoices should be counted in revenue totals or statistics. A paid invoice has at least one successful transaction.