How could I get alias for a purchased user

  • 13 March 2023
  • 1 reply

Badge +5


How could I get alias for a purchased user from CustomInfo model class? I looked it up and just found `originalAppUserId` and cannot find any alias fields.

I invoked Purchases.getCustomerInfo(), but I can’t find alias here.

Please help me!


1 reply

Userlevel 3
Badge +7


Sorry for the inconvenience here. The only way to retrieve customer aliases currently would be from our webhook integration. We are currently working on a new API endpoint (V2) to be released this year that should allow you to retrieve the customer’s aliases. The only workaround I have currently, would be to save the alias information on your server then retrieve it from the client as needed. This is an area of friction that we are working on resolving soon.