Component: EARLY_BOOKING_LIMIT
Abstract
This component is used to optionally prevent customers from purchasing your product too early without having to constantly change the availability rule(s) or manually creating closeouts.
Value for this component can be set via ExperienceComponentsDto.earlyBookingLimit
which is of ExperienceEarlyBookingLimitDto
type.
Attributes of EarlyBookingLimitDto
Attribute JSON path | Data type | Mandatory | Settable | Notes |
limitType | Enum of UNLIMITED , SPECIFIC_DATE_TIME , RELATIVE_TO_TRAVEL_DATE_SPECIFIC_TIME and MONTHS_BEFORE_TRAVEL_DATE_SPECIFIC_TIME | ✓ | ✓ | UNLIMITED is the default type used by omission |
specificDateTime | LocalDateTimeDto | Mandatory if limitType==SPECIFIC_DATE_TIME , otherwise should be omitted | ✓ | Should specify specific date and time (date/time is local to experience product) when all sales start |
daysBefore | int | Mandatory if limitType==RELATIVE_TO_TRAVEL_DATE_SPECIFIC_TIME , otherwise should be omitted | ✓ | How many days before travel date should sales start? This works together with time |
monthsBefore | int | Mandatory if limitType==MONTHS_BEFORE_TRAVEL_DATE_SPECIFIC_TIME , otherwise should be omitted | ✓ | How many months before travel date should sales start? This works together with time . Note there are some complexities with regards to months having 28/29/30/31 days; please refer to our help for details |
time | LocalTimeDto | Mandatory if limitType==RELATIVE_TO_TRAVEL_DATE_SPECIFIC_TIME or limitType==MONTHS_BEFORE_TRAVEL_DATE_SPECIFIC_TIME , otherwise should be omitted | ✓ | At which time of the day should sales start? Note this is absolute time, not relative. |
Did this answer your question?
😞
😐
🤩