contactMerge
Merges one contact (the source) into another contact (the target). The target contact is preserved, and the source contact is deleted.
The fields in keepFieldIds from the source contact will be preserved
in the merge, and will be merged into the destination contact.
mutation ContactMerge(
$sourceId: ID!,
$targetId: ID!,
$keepFieldIds: [ID!]
) {
contactMerge(input: {
sourceId: $sourceId,
targetId: $targetId,
keepFieldIds: $keepFieldIds
}) {
target {
id
}
errors {
message
path
}
}
}
contactMerge(
input: ContactMergeInput!
): ContactMergePayload
Arguments
contactMerge.input ● ContactMergeInput! non-null input common
Parameters for ContactMerge
Type
ContactMergePayload object common
Autogenerated return type of ContactMerge