Use this API to merge a customer (source) into another customer (target).
For this API to execute successfully:
As part of completing this API:
Actor | Permission |
---|---|
User | All of the following are required:
|
Client Application | No additional permission is required. |
The request body is mandatory. Request body can be in either XML or JSON format.
Name | Description |
---|---|
merge.sourceCustomer.id | ID of the source customer. |
merge.targetCustomer.id | ID of the target customer. |
merge.targetCustomer.lastModified | Last modified date ID of the target customer. |
merge.targetCustomer.contacts.contact | Contact details of the target customer. For required and optional elements of contact, refer Merge Contact. |
Name | Description |
---|---|
merge.targetCustomer.level | Level of the target customer. Must be one of the values configured in application. |
merge.targetCustomer.role | Role of the target customer. |
merge.targetCustomer.pin | Target customer pin information. |
merge.targetCustomer.howReferred | Specifies how the target customer was referred. |
merge.targetCustomer.industry | Industry that target customer belongs to. Must match the value configured in application. |
merge.targetCustomer.marketSegment | Market segment of the target customer. |
merge.targetCustomer.entitlements | Entitlements of the target customer. |
merge.targetCustomer.customAttributes | Name must match one of the custom attributes configured in application. If the custom attribute is configured as an enumeration, the value must be one of the predefined values.For string type of custom attribute that is not configured as an enumeration, refer list of Allowed Characters For Custom Attributes. |
merge.targetCustomer.contacts.contact.id | ID of the contact of the target group or corporate customer. This is applicable only if the target customer is a group or a corporate customer. This must not be provided if the target customer is an individual customer. If the target customer is a group or a corporate customer:
|
required | object (sourceCustomer) |
required | object (targetCustomer) |
No content
Bad Request
Unauthorized
Forbidden
Not Acceptable
Internal server error
{- "sourceCustomer": {
- "id": "1002"
}, - "targetCustomer": {
- "id": "1005",
- "lastModified": "2021-10-25T11:29:58.000Z",
- "contacts": {
- "contact": [
- {
- "firstName": "John"
}
]
}
}
}
{- "code": "400-101",
- "developerMessage": "Unsupported query parameter(s) supplied: '<query_parameter>'."
}