Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

Anchor to customerMergePreview

customerMergePreview

query

Requires read_customer_merge access scope.

Returns a preview of a customer merge request.

ID!required

The ID of the first customer that will be merged.

ID!required

The ID of the second customer that will be merged.

The fields to override the default customer merge rules.


Was this section helpful?

Anchor to CustomerMergePreviewCustomerMergePreview

A preview of the results of a customer merge request.

alternateFields

The fields that can be used to override the default fields.

blockingFields

The fields that will block the merge if the two customers are merged.

customerMergeErrors

The errors blocking the customer merge.

defaultFields

The fields that will be kept if the two customers are merged.

resultingCustomerId

The resulting customer ID if the two customers are merged.


Was this section helpful?