MergeResult

The merge() call returns an array of MergeResult objects.

A MergeResult object has these properties.

NameTypeDescription
errorsError[]If an error occurred during the merge() call, an array of one or more Error objects providing the error code and description.
idIDID of the primary record, the record into which the other records were merged.
mergedRecordIdsID[]ID of the records that were merged into the primary record. If successful, the values match mergeRequest.recordToMergeIds.
successbooleanIndicates whether the merge was successful (true) or not (false).
updatedRelatedIdsID[]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.