Better Ticket on Delivery

Published on

The vast majority of tickets issued by All Aboard will be in the format of a PDF with all the details necessary to board the train. One exception is in the UK, where about 25% of the domestic tickets issued in the 🇬🇧UK are so-called Ticket on Departure. These tickets can be issued from a machine at the train station by swiping a credit card (which does not have to be used for the purchase of the ticket) and entering a code.

When placing an order for one of these tickets on All Aboard, the code and instructions are now easily available on the Dashboard:

Ticket on Delivery in The API

With the introduction of Ticket on Delivery, a change is required in your API implementation to fetch these tickets. Tickets have previously only been accessed as a “Resource". This change introduces a new type called TicketOnDeparture. To query for either type of ticket, you will need to change your query to fetch them as fragments. Please refer to the documentation on how to get tickets.

This is not a breaking change and your current implementation will continue to work without changing your queries. It will, however, become a required change in the future, so we encourage you to make the change at their earliest convenience.