post https://api.aerocrs.com/v5/getCouponInfo
Request parameters
Parameter | Type | Description |
---|---|---|
triptype | String* | Type of search (OW/RT) |
fromcode | String* | Departure Airport |
tocode | String* | Arrival airport |
adults | Number* | Number of adults in upcoming PNR |
child | Number* | Number of children in upcoming PNR |
flightid1 | Number* | flightid of requested booking class |
flightid2 | Number | flightid of requested booking class (for return flight) |
couponcode | String* | Code of coupon received by the airline |
- Mandatory parameters
Response parameters
Parameter | Type | Description |
---|---|---|
success | Boolean | Marks to success or failure of the call |
name | String | The coupon code to be used for createBooking |
itemtype | String | What type of service the coupon is applicable for. |
notification | String | Details about the coupon is submitted by the airline |
Coupon amount
As the calculation is dynamic and is relied on the final booking - the final amount will appear only after using createBooking call.