Preview

CustomerUnificationCounts is in Preview status and is subject to change without notice. For more information about Preview status, see the GraphQL API policy.

CustomerUnificationCounts

This page contains

    Fields

    totalCustomers: Int!

    Distinct canonical customers in the requested scope, advisor or marketplace tenant (gold.party).

    pendingReviews: Int!

    High-confidence pending clusters awaiting clerical review — the same set customerUnificationReviewQueueByAdvisorId returns, so the badge never over-counts the queue. Always 0 for marketplace-tenant scope — clerical review is advisor-scoped.

    reviewQueueStats: CustomerUnificationReviewQueueStats @deprecated( reason: "Use pendingReviews. The queue no longer exposes confidence buckets." )PREVIEW

    Superseded by pendingReviews, which already counts exactly the high-confidence queue.

    Parent objects of CustomerUnificationCounts

    CustomerUnificationCountsConnection PREVIEW

    Totals for unified-directory and pending-review tabs. Returned by both the advisor-scoped and the marketplace-tenant-scoped counts queries; the requesting query determines the warehouse scope.

    Queries for CustomerUnificationCounts

    customerUnificationCountsByAdvisorId PREVIEW

    Lightweight counts for unified customer listing tabs: total canonical customers and pending high-confidence review clusters. Uses the same advisor-scoped warehouse filters and confidence floor as the unified list and queue.

    customerUnificationCountsByMarketplaceTenant PREVIEW

    Marketplace-wide canonical customer total for the marketplace-manager Customers list result count. Uses the same marketplace_tenant warehouse filter as customerUnifiedListByMarketplaceTenant; the marketplaceTenant argument MUST match the caller's JWT tenant claim. Clerical review is advisor-scoped, so this persona always gets pendingReviews = 0. Unfiltered — the total ignores the search / sourceSystem / entityType / advisorUuid filters accepted by customerUnifiedListByMarketplaceTenant.