Customer profitability analytics
Two new API endpoints surface revenue and cost data for your customers. /customers/{id}/stats returns lifetime gross revenue, total costs, net revenue, and margin for an individual customer. /customers/stats returns the same breakdown across all customers, with a rolling 30-day summary by default (configurable up to 6 months).