Customer cohorts (weekly)

Customers grouped by the weekly period of their FIRST order, tracked across the periods since it — the data behind the cohort retention grid.

8 fields — 4 dimensions, 4 metrics. Date clauses (SINCE, UNTIL, DURING) use customerFirstOrderDate.

The live, authoritative list is always GET /v1/datasets — this page is regenerated from the same catalog, but the endpoint reflects exactly what is deployed.

Query it

FROM customer_cohorts_weekly
  SHOW customer_cohorts_weekly_customers
  GROUP BY customer_cohorts_weekly_periods_since_first_purchase
  SINCE -30d

See Querying with SoloQL for the language.

This dataset is queryable through SoloQL; it has no record-retrieval endpoint.

Fields

FieldTypeRoleDescription
customer_cohorts_weekly_periods_since_first_purchasenumberdimensionHow many whole weekly periods after the customer's first order this activity happened. 0 is the first period; -1 marks the first order itself, which feeds totals but is hidden from the grid.
customer_cohorts_weekly_customersnumbermetricDistinct customers from the cohort active in the period (order/product lines only).
customer_cohorts_weekly_ordersnumbermetricDistinct orders placed by the cohort's customers in the period.
customer_cohorts_weekly_customers_in_cohortnumbermetricHow many distinct customers make up the cohort — the retention denominator.
customer_cohorts_weekly_customer_retention_ratenumbermetricShare of the cohort active in the period: customers ÷ customers in cohort. Empty when the cohort has no customers — never a fabricated 0%.
storestringdimensionThe shop the record belongs to. Filter with WHERE store IN ('Shop name') or GROUP BY store.
store_idstringdimensionThe shop's raw identifier — what an export or the API reports. Same shops as Store, shown as ids.
store_domainstringdimensionThe shop's myshopify.com domain. Filter with WHERE store_domain = 'shop.myshopify.com'.