Skip to main content

Hello,

 

in the iOS SDK theres information about the renewal of entitlement, but not in the REST API. Is there a reason for this? we are validating the subscription on backend and need full information to also serve back subscription information to the user.

 

Also how can I detect user chose to downgrade to lower subscription in the same group on next renewal?

 

Thanks

Hello @zdnkt,

Can you clarify what you mean about the iOS SDK having renewal information, but not the REST API? Our GET /subscriber endpoint is the same endpoint we use in the SDK and includes the latest purchase/renewal date for entitlements - you can read about the endpoint in our documentation here: https://docs.revenuecat.com/reference/subscribers

To detect product changes, you can subscribe to webhooks and look for PRODUCT_CHANGE events, which include information about the change so you can reconcile your own backend. Renewal events will also include the product ID that was renewed.


My mistake, I’ve missed the `product_identifier`.

 

Thanks.


Actually how can I tell from REST API if the subscription will renew? :)

 

EDIT: by checking unsubscribed at :)


Reply