Home > Overview recent-orders card (latest paid orders feed)
Returns the latest revenue-recognized orders for the company (paid / partially_refunded / marked_paid), newest first with id as the tie-break. Each row carries the customer name (from the shipping address), the first item’s product title, order amount in company base currency, city + country, the attributing rep (if any), and an ISO8601 sale_at the frontend uses to compute “X minutes ago” against its own clock.
Authorizations
Bearer token authentication. Requires a company-admin token
whose role holds reports.view. Additionally, the caller's
company must have ANALYTICS_DASHBOARD enabled — otherwise
every endpoint returns 404.
Query Parameters
ISO alpha-2 code of one of the requesting company's configured
countries (see GET /countries). When present, every service
on this endpoint filters its data to that country and reports
money in the country's own currency. Omit (or send "all")
for the aggregate-across-countries view, which is the default
and matches pre-Phase-004 behavior. Unknown ISO codes or ones
the company is not configured for return 400.
"US"
Response
Recent-orders card payload
Latest revenue-recognized orders (paid / partially_refunded / marked_paid) for a company. Ordered newest-first by sale_date; ties broken by id descending.