Skip to main content
Solved

Not getting subscriptions associated to a customerId

  • Jul 24, 2024 12:49 PM UTC
  • 1 reply
  • 532 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
This post has been closed for comments

1 reply

Ryan Glanz
RevenueCat Staff
Forum|alt.badge.img+8
  • RevenueCat Staff
  • Answer
  • Jul 26, 2024 4:31 PM UTC

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).