Skip to main content
Question

Hourly Promotional Entitlements

  • 20 November 2022
  • 1 reply
  • 163 views

Forum|alt.badge.img+2

Is it possible to give user a hourly or shorter promotional entitlement with REST API?

1 reply

sharif
RevenueCat Staff
Forum|alt.badge.img+9
  • RevenueCat Staff
  • 513 replies
  • November 23, 2022

This is possible with our current API but it is not obvious. Grant a promotional with a start time in the past. Adjust the start time so that the end time lands when you need. So for example if you want to grant a promotional entitlement for just one hour, grant a daily promotional (which is 24 hours) but set the start time to 23 hours in the past. The end time will then be 1 hour in the future.


Reply


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