Skip to main content
Answer

Limit of non_subscriptions array from v1/subscribers/{app_user_id} endpoint

  • August 1, 2024
  • 2 replies
  • 97 views

Forum|alt.badge.img

Hey,

When I call the v1/subscribers/{app_user_id} endpoint, in the response there is an array under the “subscriber.non_subscriptions.product_name” key containing the purchases of that product. My question is if there is a limit on the number of purchases that can be returned there and if so what happens if that limit is reached? 
I see that the oldest purchases are returned first, so I’m worried if there is a limit, then I won’t receive the latest purchases. The documentation says nothing about pagination for this endpoint. https://www.revenuecat.com/docs/api-v1#tag/customers

Best answer by kaitlin

Hi @szilards,

At this time, there isn’t a limit of non-subscription product purchases that will be returned in the customerInfo from the V1 GET /subscribers endpoint. They should all be returned by the API!

This post has been closed for comments

2 replies

kaitlin
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • Answer
  • August 5, 2024

Hi @szilards,

At this time, there isn’t a limit of non-subscription product purchases that will be returned in the customerInfo from the V1 GET /subscribers endpoint. They should all be returned by the API!


Forum|alt.badge.img
  • Author
  • New Member
  • August 5, 2024

Thank you!