Component: PASS_SETTINGS
Abstract
This component allows specific settings for on pass products and is only relevant if relevant BOOKING_TYPE is selected.
Values for this component can be set via ExperienceComponentsDto.passSettings which is of ExperiencPassSettingsDto type. This object is mandatory on product creation if booking type is PASS, otherwise should be omitted.
Attributes of ExperiencePassSettingsDto
Attribute JSON path | Data type | Mandatory | Settable | Notes |
expiryType | PassExpiryTypeDto | ✓ | ✓ | Whether this pass NEVER expires, expires on FIXED_DATE (specified separately) or RELATIVE_DATE. Relative date means the pass is valid for a period relative to purchase date (e.g. 1 year after purchase) |
capacity | int | Mandatory if capacityType is LIMITED, otherwise should be omitted | ✓ | Global capacity for selling the pass. Specifies how many total passes can be sold |
expiryDate | date | Mandatory if expiryType is FIXED_DATE, otherwise should be omitted | ✓ | Date when this pass expires (last day of validity) |
validForDays | int | Mandatory if expiryType is RELATIVE_DATE, otherwise should be omitted | ✓ | Specifies after how many days from the purchase does the pass expire |
Did this answer your question?
😞
😐
🤩