Skip to main content
Question

Grant an Entitlement


Forum|alt.badge.img+2

Why in Grant an Entitlement duration is deprecated or which api i can use to grant subscriptions like Monthly?

This post has been closed for comments

2 replies

Forum|alt.badge.img+8
  • RevenueCat Staff
  • 418 replies
  • July 15, 2024

Hi, at this time, we don't have an intention of fully removing duration as an accepted parameter. It was deprecated in favor of using end_time_ms to set a custom end date for the granted entitlement, but duration can still be used for the foreseeable future. 


Forum|alt.badge.img+2
  • Author
  • New Member
  • 1 reply
  • July 15, 2024
Haley Pace wrote:

Hi, at this time, we don't have an intention of fully removing duration as an accepted parameter. It was deprecated in favor of using end_time_ms to set a custom end date for the granted entitlement, but duration can still be used for the foreseeable future. 

Ok understood, can i grant automatically renewing subscriptions? 


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