Problem
Users are not merged even after using the User Merge API.
Explanation
This issue occurs because you have passed the MoEngage ID instead of the ID.
Solution
Perform the following steps:
-
Update the payload. Update the following payload with the ID that must be merged and retained.
{ “merge_data”: [ { “merged_user”: “user_id_that_you_want_to_merge“, “retained_user”: “user_id_that_you_want_to_retain” } ] }
-
Use the correct identifier. The UID is the unique identifier for a user, which MoEngage stores in the ID attribute of the user profile. Ensure that only the UID/ID attribute in the user profile is used to merge users.
info Information
Only registered users in MoEngage can be merged with another registered user, regardless of the source of creation.