Skip to main content
GET
Home > Overview revenue-quality card (new vs returning, subs vs one-time, AOV)

Authorizations

Authorization
string
header
required

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

country
string

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.

Example:

"US"

Response

Revenue-quality card payload

new_vs_returning
object
required

Keyed by cohort. new is any paid order whose buyer has no prior paid order in this company; returning is any paid order whose buyer already has one — per-order classification (spec decision D-4).

subs_vs_one_time
object
required

Keyed by subscription mode. An order is subscription when its subscription_id is populated (both initial checkouts and renewals); everything else is one_time.

aov
object
required

Average order value for the current month. blended covers all paid orders; new_customer and returning_customer split the same set by cohort. Values are Money strings; empty cohorts return "0.0" rather than divide-by-zero.

currency
string
required

ISO 4217 three-letter code (uppercase).

Required string length: 3
Example:

"USD"

meta
object