How to order ski tickets
Ski tickets, ecpecially seasonal passes, often require the handling of additional information to the traveler. Not only name and firstname but the SwissPass and some documents to prove the legitimacy of getting special conditions. To support this different concept and services of discover.swiss play together.
- Prices and possible dates are available by using OfferBundles and offers.
- Requirements to the order item and the travelers in the order are defined by the products CustomerFields, ItemFields and TravelerFields -> Traveler- and ItemFields
- Traveler parties, Cards and Media saved in the Provile Service support the handling and reuse of all the additional information.
Profile media and supporting documents¶
To be able to add a profile picture to the traveler:
- Upload the pictures as ProfileMedia with additionalType 'TravelerProfileImage' -> Profile service endpoints
- Then reference the media identifier in the profilePicture property of the traveler
To be able to add a supporting document in the traveler or the orderItem:
- Upload the pictures as ProfileMedia with additionalType 'SupportingDocument' -> Profile service endpoints
- Then reference the media identifier in the 'supportingDocument'
When saving this data to a party or inside an orderitem the references are validated.
Keycards and SwissPass¶
Cards (KeyCards and SwissPass and others) can be saved in the Profile as independent objects. A client application can then access it and offer the guest to use one of these cards during the order process. -> Profile service endpoints
The card objects are not referenced in the order. The client application must use their data to fill the appropriate properties in the Traveler object:
Card | Additional Property in the Traveler request |
---|---|
identifier | - |
AdditionalType | propertyId |
Name | Description |
CardNumber | value |