Ticket Validity
Ticket validity rules are presented under the ticket_validity_rules section available from the /marketing_carriers/{marketing_carrier_id} endpoint.
Parameters
They are described by a number of further parameters, which are detailed in the table below.
Type | outbound; inbound | The rule applies to the inbound or outbound leg of the trip |
Use type | once; multiple | Ticket can be used for a single or unlimited trips |
Reference time | departure_time; beginning_of_departure_day; purchase_time; beginning_of_purchase_day; outbound_voucher_redemption; inbound_voucher_redemption | Anchor from which the ticket validity duration begins |
Offset | minutes; hours; days; months | Buffer between reference time and start of validity duration |
Duration | minutes; hours; days; months | Time window of ticket validity starting from reference time (plus offset) |
Cancellation impact | cancellation_impact | Boolean. If true then the booking may no longer be cancelled following initial ticket retrieval. |
What made this section unhelpful for you?
On this page
- Ticket Validity