Merge
Combines up to three records of the same type into a single record while preserving relevant data.
Input
| Name | Type | Description |
| ObjectType | String | The Salesforce object type for the merge operation, such as Account, Contact, or Lead. Must be valid within your organization. |
| MasterRecordId | String | The ID of the primary record that will remain after the merge. Other specified records will be merged into this record. |
| RecordToMergeIds | String | A comma-separated list of one or two record IDs that will be merged into the master record. These records will be deleted after the merge. |
Result Set Columns
| Name | Type | Description |
| Id | String | The ID of the resulting master record after the merge operation is completed. |
| Success | String | Indicates whether the merge operation was successful (true) or encountered errors (false). |
| Errors_statusCode | String | Error code(s) returned if the merge operation failed. Each code provides insight into the cause of the failure. |
| Errors_message | String | Detailed message(s) describing any errors encountered during the merge process. |
| MergedRecordIds | String | List of IDs for records that were successfully merged into the master record. |
| UpdatedRelatedIds | String | List of related record IDs that were reassigned to the master record as a result of the merge. Only includes records viewable by the user. |