CustomerUnifiedOrderSummary
Pre-aggregated order KPIs for a single canonical customer, sourced from gold.party_order_summary.
This page contains
Fields
| totalOrders: Int! | Total non-cancelled orders attributed to this canonical customer (lifetime). |
| totalRevenue: Float | Total revenue in the advisor's reporting currency, summed across orders; null when no orders exist. |
| lastOrderAt: DateTime | Timestamp of the most recent order; null when no orders exist. |
Parent objects of CustomerUnifiedOrderSummary
| CustomerUnifiedDetail PREVIEW | Advisor-scoped unified customer profile with merged constituent records. |
Queries for CustomerUnifiedOrderSummary
| customerUnifiedDetailByAdvisorId PREVIEW | Unified customer profile for a canonical party id, including merged source parties. Returns null when no row exists for the advisor scope or the id is unknown. |
| customerUnifiedDetailByMarketplaceTenant PREVIEW | Unified customer profile in a marketplace tenant, including merged source parties. Returns null when no row exists for the marketplace scope or the id is unknown. Authorized for ROLE_CHANNEL_ADMIN only. |