Skip to main content
Answer

Not getting subscriptions associated to a customerId

  • July 24, 2024
  • 1 reply
  • 154 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).

This post has been closed for comments

1 reply

Ryan Glanz
RevenueCat Staff
Forum|alt.badge.img+8
  • RevenueCat Staff
  • Answer
  • 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).