Schedule a booking window rule
POST/api/admin/booking-windows
From effective_from, lessons starting after last_bookable_date cannot be booked, searched or moved to by families (teachers can still publish availability). Null last_bookable_date lifts the limit. Without city_ids the rule is the general one; a city's own rule wins over it. Applied on the day of the booking.
Request
Responses
- 201
- 400
Rules created
Invalid date, unknown city, or a rule with that start already exists