Merging Contacts
Last updated
Last updated
PATCH /contacts/merge
Merges a list of contacts into a single contact. All contacts must be connected to the current account. All contact info (i.e. id, wallet(s), tags, discord, email, phone number, etc...) will be merged.
Conflicting information (ex: id, conflicting email addresses, etc...) will be solved by overwriting the contact of lower priority with the contact info of higher priority. Priority is assigned by the order in which the contacts are provided in the contactIds
parameter, with contacts of higher priority coming first.
Parameter | Type | Description |
---|---|---|
Note: The priority of a contact is determined by the order of the contact ids, with higher priority contacts coming first.
Status Code | Description |
---|---|
Given the following contacts currently exist:
Results in the contact:
Results in the contact:
Results in the contact:
Results in the contact:
contactIds
array
of type string
List of at least two ids of contacts to be merged
200
Contacts successfully merged
400
contactIds
is not an array of at least 2 strings
404
One of the provided contact ids is invalid and/or doesn't belong to the current account