Skip to main content
Question

Grant an Entitlement

  • Jul 11, 2024 5:46 PM UTC
  • 2 replies
  • 500 views

Forum|alt.badge.img+3

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
  • Jul 15, 2024 1:44 PM UTC

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+3
  • Author
  • New Member
  • Jul 15, 2024 11:32 PM UTC

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?