Skip to main content

companyMerge

Merges one company (the source) into another company (the target). The target company is preserved, and the source company is deleted.

The fields in keepFieldIds from the source company will be preserved in the merge, and will be merged into the destination company.

For example:

mutation CompanyMerge($companyId: ID!, $targetId: ID!) {
companyMerge(input: { companyId: $companyId, targetId: $targetId }) {
target {
id
}
errors {
message
path
}
}
}
companyMerge(
input: CompanyMergeInput!
): CompanyMergePayload

Arguments​

companyMerge.input ● CompanyMergeInput! non-null input common​

Parameters for CompanyMerge

Type​

CompanyMergePayload object common​

Autogenerated return type of CompanyMerge