CustomerUnificationMergeClusterPayload
Result of a cluster MERGE or NOT_DUPLICATE fan-out: aggregate counters and the first persisted decision.
This page contains
Fields
| decision: CustomerUnificationDecision PREVIEW | First persisted decision when at least one pair succeeded; null when all per-pair attempts failed. |
| succeeded: Int! | Number of pairs whose decision was recorded (or was already idempotently in the requested state). |
| failed: Int! | Number of pairs whose decision could not be recorded (missing pair or prior terminal conflict). |
| userErrors: [CustomerUnificationSubmitDecisionError!] PREVIEW | Whole-call validation errors (e.g. invalid input shape); empty or null when the request was accepted. |
Mutations for CustomerUnificationMergeClusterPayload
| customerUnificationMarkClusterNotDuplicate PREVIEW | Record a NOT_DUPLICATE outcome for every pair (i, j) of the supplied party identifiers, idempotently. Pairs whose latest decision is already a terminal REJECT are counted as succeeded without persisting a duplicate row. Per-pair failures (missing pair, prior MERGE conflict) are isolated; the invariant succeeded + failed = number of distinct party-id pairs holds when the request is accepted. |
| customerUnificationMergeCluster PREVIEW | Record a MERGE decision for every (primary, member) pair in an N-record cluster using a single set of field selections supplied by the caller. Per-pair failures (missing pair, prior terminal decision) are isolated and reflected in succeeded / failed counters; the invariant succeeded + failed = memberPartyIds.length holds when the request is accepted. |