Discount codes with time window and minimum lead time
Discount codes can now be limited to quiet times or early bookings.
The restrictions are set in the discount code itself, under Settings › Vouchers & Discounts › Discounts:
| Restriction | Effect |
|---|---|
| Times per weekday | The appointment must start within the time window, for example only until 5 p.m. |
| Minimum lead time | The code only applies with lead time in hours, for example 24 hours |
The minimum lead time is optional. Outside the conditions, the customer sees a message with the valid times.
The API also supports weekdays and minimum lead time.