Skip to main content
Question

V2 `projects/{project_id}/customers` not returning active_entitlements

  • September 11, 2024
  • 0 replies
  • 93 views

Forum|alt.badge.img

According to the docs, fetching a list of customers should include an active_entitlements hash. However, when I paginate and pull our list of customers, none of them have this object. Is this a bug with the API, or an issue with the docs?

We’re calling https://api.revenuecat.com/v2/projects/<PROJ_ID>/customers, so if there’s an ?expand= I’m missing I’d appreciate some clarification! 😄

 

Our use-case requires us to fetch the entitlements of our customers and filter the list based on their status, so if active_entitlements isn’t meant to be returned, this means we’ll be round-tripping thousands of customers to the respective expansion route (projects/{project_id}/customers/{customer_id}/active_entitlements).

This post has been closed for comments

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