Merge Customer Account with Status (POST)

Merges a list of customer accounts and provides a status for each request. This API processes all valid requests and does not fail the entire operation if one request is invalid.
Important

Important

Where possible, we changed noninclusive terms to align with our company value of Equality. We maintained certain terms to avoid any effect on customer implementations.

Resource

/connect/life-sciences/commercial/customers/actions/merge-with-status

Resource Example

Replace {yourInstance} with the My Domain name of your Salesforce org.

https://{yourInstance}.salesforce.com/services/data/v68.0/connect/life-sciences/commercial/customers/actions/merge-with-status

Available Version

65.0

HTTP Methods

POST

Request Body for POST

{
  "customersToMerge": [
    {
      "winningId": "a3Lxx000000MbzxxAC",
      "winningExternalId": "a3Lxx000000MbzxxBC",
      "losingId": "001xx00001STZUxxTR",
      "losingExternalId": "001x0000007uv3AKKA"
    },
    {
      "winningId": "001x0000007cd4RBBR",
      "winningExternalId": "001x0000008ef5SCCS",
      "losingId": "001xx00001SYtgxxUI",
      "losingExternalId": "001x0000001ij7UEEU"
    }
  ],
  "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