POST /api/v1/merge_customers

Merge two customer profiles together. The payload contains primary and secondary profile objects. The primary profile remains after the merge and the secondary is deleted. This operation is not reversible.

The following information is merged into the primary profile from the secondary profile:

Servers

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
primary Yes

The person that you want to remain after the merge, identified by one of id, email, or cio_id. This person receives information from the secondary person in the merge.

If email is disabled as an identifier in your workspace settings, then you must reference people by id or cio_id. Under How to Modify, id must be set to "Reference people by cio_id" for a successful merge.

secondary Yes

The person that you want to delete after the merge, identified by one of id, email, or cio_id. This person's information is merged into the primary person's profile and then it is deleted.

If email is disabled as an identifier in your workspace settings, then you must reference people by id or cio_id. Under How to Modify, id must be set to "Reference people by cio_id" for a successful merge.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.