Reputation: 173
I could not find the fare rule information in the response of flight search API and flight offer price API (self-service).
According to the swagger (provided in the document), such information should be in offer.fareRules
. Do you have any idea to fetch this information? Because I'd like to fetch the information such as refund, exchange etc. Thanks
Upvotes: 0
Views: 208
Reputation: 1481
In the Flight Offers Price API you need to use the query parameter include
with the value detailed-fare-rules
For example:
https://test.api.amadeus.com/v1/shopping/flight-offers/pricing?include=detailed-fare-rules
You will get the detailed-fare-rules
as part of the response into included
:
Upvotes: 1