MergeResult
The merge() call returns an array of MergeResult objects.
A MergeResult object has these 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 primary record, the record into which the other records were merged. |
mergedRecordIds | ID[] | ID of the records that were merged into the primary record. If successful, the values 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 (reparented) as a result of the merge, and that are viewable by the user sending the merge call. |