# Sales figures in the console and a buyer's state in one read

12 November 2026. The Selling overview now shows what sold, by day, week, month or year, and your server can read everything one buyer holds in one call or hear when it changes.

## Added

- **Selling:** The overview under Billing > Selling now has a Sales panel: gross sales, net, app fee earned, refunds, orders, units, average order, affiliate sales, subscriptions running, subscription MRR, churn and disputes, with a chart by day, week, month or year and the top 10 items and sellers. Pick a seller to see their figures alone. It needs read on Orders.
- **Selling:** Figures are in one currency at a time, with no conversion. Net is gross less tax, refunds and the app's fee, before Stripe's own fees, and a sale shared between sellers counts each seller's share. Days run midnight to midnight in your organization's time zone, UTC by default, and today updates about a minute after each sale or refund. Sales from before this release are added once the sales history is filled in; until then the panel says so.
- **API:** Your server reads the same figures at GET /api/v1/server/commerce/orders/stats, with from and to as YYYY-MM-DD (366 days at most), bucket day, week, month or year, currency, and sellerType or sellerId for one seller. A seller reads their own at GET /api/v1/public/me/sales/stats, or a workspace's at /api/v1/public/workspaces/:workspaceId/sales/stats.
- **API:** GET /api/v1/server/commerce/buyers/state answers everything one buyer holds, named by userId or, for a guest, by email: live grants with downloads left and licence keys by their last group, what each access grant opens now, item subscriptions trialing, active or past due, and confirmed bookings and open requests not yet over. Lists stop at 100 grants, 50 subscriptions and 50 bookings, and truncated says which was cut. The API key's role needs read on Grants and Orders. No released SDK has a method for it yet.
- **Webhooks:** buyer.state_changed sends that whole state whenever a buyer's grants, licence keys, item subscriptions or bookings change, a gift delivered or claimed included. A burst of changes is one event, about ten seconds after it. Its changeId is the same on every retry, so store the last one you applied and skip a repeat.

## Improved

- **Console:** Chart colours now read at least 3:1 against the card in both light and dark mode, and colours drawn side by side, red and green among them, stay apart for colour-blind readers. Before, the light teal and gold read about 2.5:1 on white, and several dark-mode colours glared.

Source: https://www.buildbase.app/changelog/sales-figures-in-the-console-and-a-buyers-state-in-one-read
