Why Are Users Not Merged After Using the User Merge API?

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:

  1. Update the payload. Update the following payload with the ID that must be merged and retained.
    Code
    {
        “merge_data”: [
          {
            “merged_user”: “user_id_that_you_want_to_merge“,
            “retained_user”: “user_id_that_you_want_to_retain”
          }
        ]
    }
  2. 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.user profile id.png
    info

    Information

    Only registered users in MoEngage can be merged with another registered user, regardless of the source of creation.

Was this article helpful?
0 out of 0 found this helpful

How can we improve this article?