Input and Output for Merge Leads

The Input tab and the Output tab have the following fields for upserting merge leads.

Table 1. Input for Upserting Merge Leads
Input Item Data Type Description
ParamsMergeLeads
Note: The winningLeadKeyList and losingLeadKeyList can contain only one attribute. The value of attribute name can be IDNUM, EMAIL, and SFDCLEADID.
winningLeadKey

List

string An attribute used to identify the winning lead. The attribute is associated with a name, a type, and a value.
Note: Only some specific values are valid for this field, see the Marketo documentation for details.
losingLeadKey

List

string An attribute used to identify the losing leads. The attribute is associated with a name, a type, and a value.
Table 2. Output for Upserting Merge Leads
Output Item Data Type Description
SuccessMergeLeads/result/mergeStatus
winningLeadId integer The ID of the winning lead. The returned value can be null.
losingLeadIdList integer The ID of the losing leads. The returned value can be null.
status string The status of the operation.
error string The error message. The returned value can be null.