Merges a list of customer accounts. If any one account merge in the request fails,
the entire operation is cancelled.
Resource
/connect/life-sciences/commercial/customers/actions/merge
Resource Example
Replace {yourInstance} with the My Domain name of your Salesforce org.
Available Version
65.0
HTTP Methods
POST
Request Body for POST
{
"customersToMerge": [
{
"winningId": "001x0000002kl8VFFV",
"winningExternalId": "001x0000004op0XHHX",
"losingId": "001x0000009gh6TDDT",
"losingExternalId": "001x0000001ij7UEEU"
},
{
"winningId": "001x0000003mn9WGGW",
"winningExternalId": "001x0000007uv3AKKA",
"losingId": "001x0000006st2ZJJZ",
"losingExternalId": "001x0000005qr1YIIY"
}
],
"overrideBlankValues": true
}
| Name | Type | Description | Required |
|---|---|---|---|
| customersToMerge | MergeCustomersInputRepresentation[] | A list of customer merge requests. A maximum of 100 requests can be included in a single call. | Required |
| overrideBlankValues | Boolean | Specifies whether to override blank values in the
Consolidated Account record with values from the Merged
Account record. The default value is false. If set to true, it looks for null values in the fields of the winning account and fills them with non null values from the losing account |
Optional |