Question

Hourly Promotional Entitlements

  • 20 November 2022
  • 1 reply
  • 122 views

Badge +2

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


1 reply

Userlevel 5
Badge +9

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