Anchor to customerMergePreviewcustomer
customerMergePreview
query
Requires access scope.
Returns a preview of a customer merge request.
Anchor to Arguments
Arguments
- Anchor to customerOneIdcustomer•
One Id ID!required The ID of the first customer that will be merged.
- Anchor to customerTwoIdcustomer•
Two Id ID!required The ID of the second customer that will be merged.
- Anchor to overrideFieldsoverride•
Fields The fields to override the default customer merge rules.
Was this section helpful?
Anchor to Possible returnsPossible returns
- Anchor to CustomerMergePreviewCustomer•
Merge Preview A preview of the results of a customer merge request.
- alternate
Fields •CustomerMerge Preview Alternate Fields The fields that can be used to override the default fields.
- blocking
Fields •CustomerMerge Preview Blocking Fields The fields that will block the merge if the two customers are merged.
- customer
Merge •Errors [CustomerMerge Error!] The errors blocking the customer merge.
- default
Fields •CustomerMerge Preview Default Fields The fields that will be kept if the two customers are merged.
- resulting
Customer •Id ID The resulting customer ID if the two customers are merged.
- alternate
Was this section helpful?
Query Reference
{
customerMergePreview(customerOneId, customerTwoId) {
# customerMergePreview fields
}
}