Skip to content

Organization programs: merge

The Organization Verbs merge as MCP do programs, with inputs, result, refusals and an example.

Reference for Organization, one group of Organization programs.

Organization.merge

Merge joins a duplicate Organization into another, keeping every Contact, Deal and Event on the one that remains. Verb page.

Text
do: return await $.Organization.merge(input)

Emits Organization.merged.

Inputs

InputTypeRequiredDescription
organizationOrganizationrequiredThe duplicate.
intoOrganizationrequiredThe Organization that remains.

Returns

OutputTypeRequiredDescription
organizationOrganizationrequiredThe remaining Organization.

Refuses when

CheckErrorFixThen call
The key is valid, but its scopes do not allow this operation.forbiddenUse a key whose scopes cover the operation, or ask an owner of the namespace to grant them.None.

Example

JSON
{
  "name": "do",
  "arguments": {
    "code": "return await $.Organization.merge({ organization: 'organization_v0SkRLrXCN', into: 'organization_v0SkRLrXCN' })"
  }
}