Fare Rules

Fare rules are the conditions and restrictions that apply to any booking based on its fare type. These determine the price of the fare. Generally, less expensive fares have more restrictions and more expensive fares have fewer restrictions. Fare rules can include blackout dates, advanced reservation requirements, minimum and maximum stay requirements, and cancellation and change penalties.

AirPrice does not return fare rules by default but you can request their return in any price response.

In this topic:

Fare Rule Formats

The JSON APIs return fare rules as distributed through their ATPCO filing. ATPCO fare rules use the following formats:

  • Long rules: The detailed fare rule text. Not yet supported by most NDC carriers.
  • Short rules: Abbreviated fare rules that summarize each rule category. These are usually high-level conditions better suited for use by experienced travel agents.
  • Structured rules: Structured rules allow you to limit the rules returned to the following categories: advance reservation/ticketing requirements, minimum/maximum stay, stopovers, penalties, voluntary exchanges and refunds.

The tables below note which types of rules are available in the JSON APIs for GDS and NDC.

GDS Fare Rule Support

Rule Type v6

Short Text Fare Rules

Yes

Long Text Fare Rules

Yes

Structured Fare Rules

No

NDC Fare Rule Support

Rule Type v6

Short Text Fare Rules

Yes

Long Text Fare Rules

Yes for QF only;
not supported on other NDC carriers

Structured Fare Rules

No

Fare Rules in Price Response

To request fare rules, include fareRuleType in the top level object of the request message payload (see the AirPrice API Reference) with one of the following values:

  • TextShort: Short format of the rule returned from the carrier is returned.
  • TextLong: Long format of the rule returned from the carrier is returned.
  • Structured: Structured fare rules are not supported for AirPrice v6.

Fare rules are returned in TermsAndConditionsFull/FareRuleInfo.