Product mix: orders, hours, money and price per hour of each single-lesson length and each training, per period and in total
POST/api/admin/statistics/products/mix/search
A purchase is an order whose money was collected (charged, partial_transfer, full_transfer), dated by lesson_order.created_at, the finance clock. An admin cancellation of the whole order removes it; the refund of single lessons leaves hours_bought and amount_paid unchanged and lowers only revenue_total. Accepts start_date_time, end_date_time, granularity, product_type, competence_school (the order's own), page/page_size (over the series periods) and sort_order; anything else is a 400.
Request
Responses
- 200
- 400
- 401
- 403
- 500
Ok
Invalid or unsupported parameters
Unauthorized
Forbidden
Internal server error