Solved

Merge Users Via Dashboard or REST API

  • 18 January 2022
  • 4 replies
  • 265 views

Badge +5

Hello All,

 

How can i identify a user so that the user gets merged with another one?

 

I Have a case in my app that the user made a purchase and for reasons that we already don't know yet, kept Anonymous. We already identified both users in RC and we would like to merge them so i want to identify RCAnonymousIDxxxxx (The one that has the Entitlement active) to 123456XYZ(his actual user). Doing that he will be able to be premium in our app.

 

Didn't find anything in the Dashboard nor the REST API. How can i do this?

 

Thanks!

icon

Best answer by sundeep 9 February 2022, 02:46

View original

4 replies

Userlevel 3
Badge +8

This question was resolved through our ticketing system, but just sharing a response here as well: for rare cases like this where you want to merge two user IDs, you can submit a Zendesk ticket and we’ll provide an internal endpoint you can use for this.

Userlevel 2
Badge +7

Why is this considered a “Rare” case? A developer error can lead to this happening, so it would be super helpful to have a fall back if that happens.

 

Best,

Jake

Badge +4

+1 on this

Badge +3

Hey Sundeep,

In our app it is not that rare. This is how we usually end up in this scenario:

1. User logs in one device using apple id w/o sharing an email
2. User logs out
3. User logs back in but this time with FB (user has two accounts that we cannot link because the emails are different)
4. User notices and merges account

On account merges, if one of the users is premium we need to promote the premium status to the new merged user.

Can we get access to the internal API to do this programatically?

Reply