Question

How can I create a customer manually?

  • 10 January 2024
  • 2 replies
  • 119 views

Badge

I have tried to hit the https://api.revenuecat.com/v1/subscribers/{userId} endpoint and I receive data back, as the https://www.revenuecat.com/reference/subscribers api docs show:

 

Get OR create a subscriber

If the provided app_user_id doesn't exists, a new subscriber will be created with the App User Id.

 

However, when I go to my customers page I do not see that customer having been created. How can I achieve this? What I’m ultimately trying to achieve is to provide a user with access to my app without them needing to make a purchase, however in order to set a promotional entitlement it would appear the user needs to already be created.

Any ideas?


2 replies

Userlevel 3
Badge +5

Hi! This might be related to the cache in our customer lists. These lists refresh every 2 hours so you should expect to see some of a delay when checking. Are you currently still not seeing the users on your end? If you would like to check that an individual user was added to RevenueCat in real-time, Here is the documentation for how to do so: https://www.revenuecat.com/docs/customer-lists#find-an-individual-customer. If you are still not seeing the user, can you share the user ID that you provided the endpoint?

Badge

 Thanks for your response! This makes sense, thank you. Just to be sure, there isn’t a way in the dashboard to create a customer, right?

Reply