List Daily Financial Summaries
GET/api/financials/daily-summary
Returns a paginated list of daily financial summaries. Each record aggregates financial metrics (revenue, cost, profit) for a specific date and reportable entity (product or financial line type).
Authentication: Requires Bearer token (Power User access required)
Response fields:
- id: Record ID
- date: Summary date
- reportable: Polymorphic entity {id, type, product|financial_line_type}
- quantity: Units sold
- quantity_returned: Units returned
- num_orders: Number of orders
- revenue, revenue_allocated, revenue_credits, revenue_discount, total_revenue
- cost, cost_allocated, cost_invoices, cost_returned, total_cost
- profit, profit_margin
- created_at, updated_at
Request
Responses
- 200
Successful response