Merge profiles with duplicate email and/or id

The merge profiles endpoint allows you to merge duplicate customer profiles in Ometria, e.g. contacts with identical email addresses.

See also: Merging contact profiles in Ometria

The endpoint takes:

emailThe email address of the profile to be merged.
profile_id (optional)The ID of the profile to be merged.

It merges the duplicate profiles around the common email and maintains profile events such as marketing opt-in status.

The POST request structure:

curl --request POST \\
     --url <> \\
     --header 'Accept: application/json' \\
     --header 'Content-Type: application/json' \\
     --header 'X-Ometria-Auth:  api key' \\
     --data '{"email": "[email protected]",
							"profile_id": "1234567"	  }'