updateFares

This method will change the fare details

📘

Important

With this method you can not update information from other airlines.

Request parameters

ParameterTypeDescription
Fare Structure
faresElement*The following elements are within <fare> which represents a <fare> within <fares>
fareElement*The Element hold the fare details
Fare Identification
fareDetailsElement*The Element hold the fare details in AeroCRS system
fromcodeString*Departure airport code
tocodeString*Arrival airport code
classcodeString*Class code
fromdateDate*From date YYYY/MM/DD
todateDate*To date YYYY/MM/DD
currencyString*Currency ISO format (Example - USD)
New Fare Details
newDetailsElement*The Element hold the new details to update
fromcodeString*Departure airport code
tocodeString*Arrival airport code
classcodeString*Class code
fromdateDate*From date YYYY/MM/DD
todateDate*To date YYYY/MM/DD
Fare Configuration
baggageNumberSet kg/lb (according to company settings) of baggage allowed for this route
brandStringBrand name (according the company), In order to change to default settings, Set zero value
schemeStringScheme name (according the company), In order to change to default settings, Set zero value
terminalStringDeparture terminal
Fare Availability Rules
showhoursNumberSet the number of hours before the flight the fare should show
if set to zero, will show always
expirehoursNumberSet the number of hours before the flight this fare should expire
minstayNumberSet the number of days for return bookings, if a booking is done for less than the stated days, the system will not show the fare
maxstayNumberSet the number of days for return bookings, if a booking is done for more than the stated days, the system will not show the fare
sellstartDateFare sell start date
sellendDateFare sell end date
Fare Restrictions
limitcurrencyBooleanLimit the fare to be sold only for this currency
chargevatontaxBooleanCharge VAT on tax
One Way Pricing
owadlMoneyOne way fare adult ticket price amount
owchdMoneyOne way fare child ticket price amount
owinfMoneyOne way fare infant ticket price amount
owtax1MoneyOne way fare ticket tax 1 amount
owtax2MoneyOne way fare ticket tax 2 amount
owtax3MoneyOne way fare ticket tax 3 amount
owtax4MoneyOne way fare ticket tax 4 amount
Round Trip Pricing
rtadlMoneyRound trip fare adult ticket price amount
rtchdMoneyRound trip fare child ticket price amount
rtinfMoneyRound trip fare infant ticket price amount
rttax1MoneyRound trip fare ticket tax 1 amount
rttax2MoneyRound trip fare ticket tax 2 amount
rttax3MoneyRound trip fare ticket tax 3 amount
rttax4MoneyRound trip fare ticket tax 4 amount
Yield Management
yieldtypeStringCabin/Class
yieldshowNumberPercentage to show fare
yieldexpireNumberPercentage to expire fare
Days of Week Settings
sundayBooleanSelling day (Sunday)
mondayBooleanSelling day (Monday)
tuesdayBooleanSelling day (Tuesday)
wednesdayBooleanSelling day (Wednesday)
thursdayBooleanSelling day (Thursday)
fridayBooleanSelling day (Friday)
saturdayBooleanSelling day (Saturday)

❗️

* Mandatory parameters

🚧

Notice!

The request can contain optional parameters. In case some parameters are skipped - those fields data in AeroCRS system will not be changed.

📘

Optional

Request can contain multiple fares

Response parameters

ParameterTypeDescription
Response Structure
faresElementThe following elements are within <fare> which represents a <fare> within <fares>
fareElementThe following parameters are within fare
Updated Fare Information
fromcodeStringThe departure airport code which been updated
tocodeStringThe arrival airport code which been updated
classcodeStringThe class code which been updated
fromdateDateFrom date YYYY/MM/DD which been updated
todateDateTo date YYYY/MM/DD which been updated
currencyStringCurrency ISO format which been updated
Operation Result
successBooleantrue/false
errorStringError information
Language