The merge() call returns a MergeResult object, which has the following properties:
| Name | Type | Description |
|---|---|---|
| errors | Error[] | If an error occurred during the merge() call, an array of one or more Error objects providing the error code and description. |
| id | ID | ID of the master record, the record into which the other records were merged. |
| mergedRecordIds | ID[] | ID of the records that were merged into the master record. If successful, the values will match mergeRequest.recordToMergeIds. |
| success | boolean | Indicates whether the merge was successful (true) or not (false). |
| updatedRelatedIds | ID[] | ID of all related records that were moved (re-parented) as a result of the merge, and that are viewable by the user sending the merge call. |