Skip to main content
Solved

Not getting subscriptions associated to a customerId

  • July 24, 2024
  • 1 reply
  • 102 views

Forum|alt.badge.img+1

Hi,

I am trying to get subscriptions associated to a customer_id calling https://api.revenuecat.com/v2/projects/{project_id}/customers/{customer_id}/subscriptions but none found even though I know customer has one subscription associated.

I've double checked that my api_key is the correct one and also project_id and customer_id are correct values. Postman returning 200 but no subscription appears in items[]

Thanks

Best answer by Ryan Glanz

That endpoint currently only returns RC Billing purchases. I would suggest using our v1 /subscribers endpoint to get that information (v1 is safe, it won’t be deprecated).

View original
Did this post help you find an answer to your question?
This post has been closed for comments

Ryan Glanz
RevenueCat Staff
Forum|alt.badge.img+8
  • RevenueCat Staff
  • July 26, 2024

That endpoint currently only returns RC Billing purchases. I would suggest using our v1 /subscribers endpoint to get that information (v1 is safe, it won’t be deprecated).


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings