HaloSync
Production(3.1.0)
  • Sandbox(3.1.0)
  • Production(3.1.0)
HomeLunaAlbus
HomeLunaAlbus
Production(3.1.0)
  • Sandbox(3.1.0)
  • Production(3.1.0)
  1. PolarHub API
  • Overview
  • Release Notes
    • PolarHub Release Note
    • Luna Release Note
    • Albus Release Note
  • Get Started
    • What is HaloSync?
    • Supported Airlines
    • PolarHub Credential
  • Airline Integration Guide
    • Carrier Support Matrix
    • Operational Notes
  • PolarHub API
    • šŸ”‘ Transaction ID Guidelines
    • šŸ” Authentication: HMAC Guide
    • AirShopping
      POST
    • OfferPrice
      POST
    • OrderCreate
      POST
    • OrderRetrieve
      POST
    • ServiceList
      POST
    • SeatAvailability
      POST
    • OrderChange
      POST
    • OrderReshop
      POST
    • OrderQuote
      POST
    • OrderCancel
      POST
  • Support & Contact
    • General FAQ
    • Contact (Integration & Support)
  • PolarHub Errors&Troubleshooting
    • Common Error Codes
  • Schemas
    • PolarHub Schema 2025.6
      • comm
        • RequestOfferItemType
        • RequestOrderItemType
        • OrderServicingDeleteType
        • TravelAgencyType
        • OriginDestType
        • PaxCodeType
        • CriteriaType
        • ResponseParameterType
        • ResultMessageType
        • DataListsType
        • OrderOfferType
        • OfferType
        • OfferItemInfoType
        • PaxType
        • PaymentType
        • ContactInfoType
        • OrderViewOrderType
        • OfferType_Extend
      • AirShoppingRQ
      • AirShoppingRS
      • OfferPriceRQ
      • OfferPriceRS
      • OrderCreateRQ
      • OrderViewRS
      • SeatAvailabilityRQ
      • SeatAvailabilityRS
      • ServiceListRQ
      • ServiceListRS
      • OrderRetrieveRQ
      • OrderReshopRQ
      • OrderQuoteRQ
      • OrderReshopRS
      • OrderCancelRQ
      • OrderCancelRS
      • OrderChangeRQ
    • PolarHub Schema 2025.3
      • comm
        • TravelAgencyType
        • OriginDestType
        • PaxCodeType
        • CriteriaType
        • ResponseParameterType
        • ResultMessageType
        • DataListsType
        • OrderOfferType
        • OfferType
        • OfferItemInfoType
        • PaxType
        • PaymentType
        • ContactInfoType
        • OrderViewOrderType
        • OfferType_Extend
      • OrderChangeRQ
      • AirShoppingRS
      • OrderReshopRS
      • AirShoppingRQ
      • OfferPriceRQ
      • OfferPriceRS
      • OrderCreateRQ
      • OrderViewRS
      • SeatAvailabilityRQ
      • SeatAvailabilityRS
      • ServiceListRQ
      • ServiceListRS
      • OrderRetrieveRQ
      • OrderReshopRQ
      • OrderQuoteRQ
      • OrderCancelRQ
      • OrderCancelRS
    • PolarHub Schema 2025.7
      • comm
        • ResponseParameterType
        • TravelAgencyType
        • OriginDestType
        • PaxCodeType
        • CriteriaType
        • ResultMessageType
        • DataListsType
        • OrderOfferType
        • OfferType
        • OfferItemInfoType
        • PaxType
        • PaymentType
        • ContactInfoType
        • OrderViewOrderType
        • OfferType_Extend
      • OrderChangeRQ
      • AirShoppingRS
      • OfferPriceRS
      • OrderViewRS
      • SeatAvailabilityRS
      • ServiceListRS
      • OrderReshopRS
      • OrderCancelRS
      • OrderCancelRQ
      • OrderQuoteRQ
      • OfferPriceRQ
      • AirShoppingRQ
      • OrderCreateRQ
      • SeatAvailabilityRQ
      • OrderRetrieveRQ
      • OrderReshopRQ
      • ServiceListRQ
  1. PolarHub API

SeatAvailability

POST
https://hub.halo-platform.net/hub/polarpie/v2/seatAvailability
PolarHub API
Last modified:2025-11-10 08:15:08

Overview#

The SeatAvailability API is used to retrieve the list of available seat options for a flight.

Usage Guidelines#

Paid Seats: AF, EK, HA, KL, LH, LX(LH), OS(LH), SQ, TR
Free Seats: AA, EK, HA, LH, LX(LH), OS(LH), SQ, TR
Pre/Post-Booking Seat Purchase Support: AF, HA, KL, TR
Seat Purchase After Booking/Ticketing with Itinerary Change: AF, KL
When purchasing seats during an itinerary change, only seats for the updated itinerary can be purchased.

FFN (Loyalty program)#

Supported: AF, KL

Request

Header Params

Body Params application/json

Examples
{
    "Sender": {
        "TravelAgency": {
            "AgencyID": "TSDV001",
            "SiteCode": "01"
        }
    },
    "PointOfSale": "KR",
    "TransactionID": "8b406338b0bd40bc8c4e0903bf4c5bce",
    "Query": {
        "Offer": {
            "ResponseID": "8b406338b0bd40bc8c4e0903bf4c5bce",
            "OfferID": "5dda4ab8255d469d84951dff9e0d25b024.1-1",
            "OfferItem": [
                {
                    "OfferItemID": "5dda4ab8255d469d84951dff9e0d25b024.1-1-1",
                    "PaxRefID": [
                        "PAX_1"
                    ],
                    "PaxSegmentRefID": [
                        "SEG_1"
                    ]
                }
            ],
            "Owner": "TK"
        }
    }
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
cURL
curl --location --request POST 'https://hub.halo-platform.net/hub/polarpie/v2/seatAvailability' \
--header 'x-date: {{Header Construction - Step 1: Date Header}}' \
--header 'digest: SHA-512={{Header Construction - Step 2: Digest Header}}' \
--header 'authorization: hmac username={{TenantID}}, algorithm="hmac-sha512", headers="x-date digest", signature={{Header Construction - Step 3: Authorization Header}}' \
--header 'Content-Type: application/json' \
--data-raw '{
    "Sender": {
        "TravelAgency": {
            "AgencyID": "TSDV001",
            "SiteCode": "01"
        }
    },
    "PointOfSale": "KR",
    "TransactionID": "8b406338b0bd40bc8c4e0903bf4c5bce",
    "Query": {
        "Offer": {
            "ResponseID": "8b406338b0bd40bc8c4e0903bf4c5bce",
            "OfferID": "5dda4ab8255d469d84951dff9e0d25b024.1-1",
            "OfferItem": [
                {
                    "OfferItemID": "5dda4ab8255d469d84951dff9e0d25b024.1-1-1",
                    "PaxRefID": [
                        "PAX_1"
                    ],
                    "PaxSegmentRefID": [
                        "SEG_1"
                    ]
                }
            ],
            "Owner": "TK"
        }
    }
}'

Responses

🟢200OK
application/json
Body

Example
{
    "SeatAvailabilityRS": {
        "ResultMessage": {
            "Code": "string",
            "Message": "string",
            "MessageDetail": {
                "Errors": [
                    {
                        "Owner": "string",
                        "Message": "string",
                        "Code": "string",
                        "Status": "string",
                        "ShortText": "string",
                        "Type": "string"
                    }
                ],
                "Warnings": [
                    {
                        "Owner": "string",
                        "Message": "string",
                        "Code": "string",
                        "Status": "string",
                        "ShortText": "string",
                        "Type": "string"
                    }
                ]
            }
        },
        "Recipient": {
            "TravelAgency": {
                "AgencyID": "string",
                "SiteCode": "string",
                "AgencyName": "string",
                "ContactInfoRefID": [
                    "string"
                ]
            }
        },
        "PointOfSale": "string",
        "TransactionID": "string",
        "ResponseID": "string",
        "ALaCarteOffer": {
            "OfferID": "string",
            "Owner": "string",
            "ValidatingCarrier": "string",
            "TotalItemQuantity": 0,
            "OfferTimeLimit": "string",
            "ALaCarteOfferItem": [
                {
                    "OfferItemID": "string",
                    "PaxRefID": [
                        "string"
                    ],
                    "PaxSegmentRefID": [
                        "string"
                    ],
                    "UnitPriceDetail": {
                        "TotalAmount": {
                            "Amount": 0,
                            "CurCode": "string"
                        },
                        "TravelAgencyServiceFee": [
                            {
                                "Ptc": "string",
                                "Fee": {
                                    "Amount": 0,
                                    "CurCode": "string"
                                }
                            }
                        ],
                        "TotalBaseAmount": {
                            "Amount": 0,
                            "CurCode": "string"
                        },
                        "TotalTaxAmount": {
                            "Amount": 0,
                            "CurCode": "string"
                        },
                        "AgencyPromotion": {
                            "PromotionCode": "string",
                            "TotalPromotionAmount": {
                                "Amount": 0,
                                "CurCode": "string"
                            },
                            "PtcPromotionAmount": [
                                {
                                    "Ptc": "string",
                                    "Amount": {
                                        "Amount": 0,
                                        "CurCode": "string"
                                    }
                                }
                            ]
                        },
                        "FopPromotion": [
                            {
                                "PromotionCode": "string",
                                "PaymentType": "string",
                                "TotalPromotionAmount": {
                                    "Amount": 0,
                                    "CurCode": "string"
                                },
                                "PtcPromotionAmount": [
                                    {
                                        "Ptc": "string",
                                        "Amount": {
                                            "Amount": 0,
                                            "CurCode": "string"
                                        }
                                    }
                                ],
                                "CardCode": "string",
                                "CardName": "string"
                            }
                        ]
                    },
                    "Service": [
                        {
                            "ServiceID": "string",
                            "PaxRefID": "string",
                            "PaxJourneyRefID": "string",
                            "PaxSegmentRefID": "string",
                            "Status": "string",
                            "SelectedSeat": {
                                "Column": "string",
                                "Row": "string"
                            },
                            "Definition": {
                                "Name": "string",
                                "Desc": [
                                    {
                                        "DescID": "string",
                                        "Text": "string",
                                        "Application": "string"
                                    }
                                ],
                                "Rfic": "string",
                                "Rfisc": "string",
                                "ServiceCode": "string",
                                "BookingInstructions": {
                                    "SsrCode": [
                                        "string"
                                    ],
                                    "OsiText": [
                                        "string"
                                    ],
                                    "Text": [
                                        "string"
                                    ],
                                    "UpgradeMethod": "string",
                                    "Method": "string",
                                    "Equipment": "string"
                                }
                            }
                        }
                    ]
                }
            ]
        },
        "SeatMap": [
            {
                "PaxSegmentRefID": "string",
                "Equipment": {
                    "AircraftCode": "string",
                    "Name": "string"
                },
                "Cabins": [
                    {
                        "CabinType": "string",
                        "RowInfo": [
                            {
                                "Number": "string",
                                "Seats": [
                                    {
                                        "Column": "string",
                                        "SeatStatus": "string",
                                        "SeatCharacteristics": [
                                            {
                                                "Code": "string"
                                            }
                                        ],
                                        "OfferItemRefID": [
                                            "string"
                                        ]
                                    }
                                ]
                            }
                        ],
                        "Layout": {
                            "Columns": [
                                {
                                    "Column": "string",
                                    "Position": "string"
                                }
                            ],
                            "Rows": {
                                "First": "string",
                                "Last": "string"
                            }
                        }
                    }
                ]
            }
        ],
        "DataLists": {
            "OriginDestList": [
                {
                    "OriginCode": "string",
                    "DestCode": "string",
                    "OriginDestID": "string",
                    "PaxJourneyRefID": [
                        "string"
                    ]
                }
            ],
            "PaxJourneyList": [
                {
                    "PaxJourneyID": "string",
                    "FlightTime": "string",
                    "OnPoint": "string",
                    "OffPoint": "string",
                    "PaxSegmentRefID": [
                        "string"
                    ]
                }
            ],
            "PaxSegmentList": [
                {
                    "PaxSegmentID": "string",
                    "ArnkInd": true,
                    "Departure": {
                        "AirportCode": "string",
                        "Date": "string",
                        "Time": "string",
                        "AirportName": "string",
                        "Terminal": {
                            "Name": "string"
                        }
                    },
                    "Arrival": {
                        "AirportCode": "string",
                        "Date": "string",
                        "Time": "string",
                        "AirportName": "string",
                        "Terminal": {
                            "Name": "string"
                        }
                    },
                    "FlightDuration": "string",
                    "Equipment": {
                        "AircraftCode": "string",
                        "Name": "string"
                    },
                    "MarketingCarrier": {
                        "AirlineID": "string",
                        "Name": "string",
                        "FlightNumber": "string"
                    },
                    "OperatingCarrier": {
                        "AirlineID": "string",
                        "Name": "string",
                        "FlightNumber": "string"
                    },
                    "Status": "string",
                    "Legs": [
                        {
                            "Departure": {
                                "AirportCode": "string",
                                "Date": "string",
                                "Time": "string",
                                "AirportName": "string",
                                "Terminal": {
                                    "Name": "string"
                                }
                            },
                            "Arrival": {
                                "AirportCode": "string",
                                "Date": "string",
                                "Time": "string",
                                "AirportName": "string",
                                "Terminal": {
                                    "Name": "string"
                                }
                            },
                            "ChangeofGaugeInd": true,
                            "Equipment": {
                                "AircraftCode": "string",
                                "Name": "string"
                            },
                            "OnGroundDuration": "string",
                            "TicketlessInd": true
                        }
                    ]
                }
            ],
            "PaxList": [
                {
                    "PaxID": "string",
                    "Ptc": "string",
                    "Individual": {
                        "IndividualID": "string",
                        "Birthdate": "string",
                        "Birthplace": "string",
                        "Gender": "Female",
                        "NameTitle": "string",
                        "GivenName": [
                            "string"
                        ],
                        "MiddleName": [
                            "string"
                        ],
                        "Surname": "string",
                        "SurnameSuffix": "string"
                    },
                    "ContactInfoRefID": [
                        "string"
                    ],
                    "Gender": "Female",
                    "ResidenceCountryCode": "string",
                    "CitizenshipCountryCode": "string",
                    "PaxRefID": "string",
                    "IdentityDoc": [
                        {
                            "IdentityDocumentNumber": "string",
                            "IdentityDocumentType": "string",
                            "IssuingCountryCode": "string",
                            "CitizenshipCountryCode": "string",
                            "ResidenceCountryCode": "string",
                            "IssueDate": "string",
                            "ExpiryDate": "string",
                            "Birthdate": "string",
                            "Birthplace": "string",
                            "Gender": "Female",
                            "NameTitle": "string",
                            "GivenName": [
                                "string"
                            ],
                            "MiddleName": [
                                "string"
                            ],
                            "Surname": "string",
                            "SurnameSuffix": "string",
                            "Visa": [
                                {
                                    "VisaNumber": "string",
                                    "VisaType": "string",
                                    "VisaHostCountryCode": "string",
                                    "EnterBeforeDate": "string",
                                    "DurationOfStay": 0,
                                    "NumberOfEntries": 0
                                }
                            ]
                        }
                    ],
                    "LoyaltyProgramAccount": [
                        {
                            "Alliance": {
                                "Name": "string",
                                "Code": "string",
                                "Url": "http://example.com",
                                "Airline": [
                                    {
                                        "AirlineName": "string",
                                        "AirlineDesignator": "string"
                                    }
                                ]
                            },
                            "Airline": {
                                "AirlineName": "string",
                                "AirlineDesignator": "string"
                            },
                            "ProviderName": "string",
                            "ProgramName": "string",
                            "ProgramCode": "string",
                            "AccountNumber": "string",
                            "Url": "http://example.com",
                            "SignInID": "string",
                            "TierCode": "string",
                            "TierName": "string",
                            "TierPriority": "string"
                        }
                    ]
                }
            ],
            "CurrencyDecimalPlaceList": [
                {
                    "CurCode": "string",
                    "DecimalPlace": 0
                }
            ],
            "TicketDocList": [
                {
                    "TicketDocument": [
                        {
                            "TicketDocNbr": "string",
                            "Type": "string",
                            "NumberofBooklets": 0,
                            "IssueDate": "string",
                            "IssueTime": "string",
                            "ReportingType": "string",
                            "Status": "string",
                            "VoidLimit": "string",
                            "CouponInfos": [
                                {
                                    "CouponNumber": "string",
                                    "FareBasisCode": "string",
                                    "PaxSegmentRefID": "string",
                                    "Status": "string",
                                    "InConnectionWithInfo": {
                                        "InConnectionDocNbr": "string",
                                        "InConnectionCpnNbr": "string"
                                    },
                                    "ServiceRefID": [
                                        "string"
                                    ]
                                }
                            ],
                            "InConnectionDocNbr": "string"
                        }
                    ],
                    "PaxRefID": "string",
                    "AgentIDs": {
                        "Type": "string",
                        "Id": "string"
                    },
                    "IssuingAirlineInfo": {
                        "AirlineName": "string"
                    },
                    "FareDetail": [
                        {
                            "BaseAmount": {
                                "Amount": 0,
                                "CurCode": "string"
                            },
                            "TaxTotal": {
                                "Amount": 0,
                                "CurCode": "string"
                            },
                            "Tax": [
                                {
                                    "Amount": {
                                        "Amount": 0,
                                        "CurCode": "string"
                                    },
                                    "TaxCode": "string",
                                    "LocalAmount": {
                                        "Amount": 0,
                                        "CurCode": "string"
                                    },
                                    "Desc": "string",
                                    "Nation": "string"
                                }
                            ],
                            "FareComponent": [
                                {
                                    "PaxSegmentRefID": [
                                        "string"
                                    ],
                                    "Penalty": {
                                        "Change": "string",
                                        "Refund": "string",
                                        "NoShow": "string",
                                        "Detail": [
                                            {
                                                "Type": "string",
                                                "Amounts": [
                                                    {
                                                        "CurrencyAmountValue": 0,
                                                        "Code": "string",
                                                        "AmountApplication": "string"
                                                    }
                                                ],
                                                "Application": {
                                                    "Code": "string"
                                                }
                                            }
                                        ],
                                        "Description": [
                                            {
                                                "DescID": "string",
                                                "Text": "string",
                                                "Application": "string"
                                            }
                                        ]
                                    },
                                    "FareBasis": {
                                        "FareBasisCode": "string",
                                        "FareCode": "string",
                                        "CabinType": [
                                            {
                                                "PaxSegmentRefID": "string",
                                                "CabinCode": "string",
                                                "CabinName": "string",
                                                "Rbd": "string"
                                            }
                                        ]
                                    },
                                    "Remarks": [
                                        "string"
                                    ]
                                }
                            ],
                            "PaxRefID": [
                                "string"
                            ]
                        }
                    ]
                }
            ],
            "PaymentList": [
                {
                    "Type": "CA",
                    "Amount": 1474000,
                    "CurCode": "KRW",
                    "Status": "395",
                    "PaxRefID": [],
                    "OrderItemID": [
                        "PoIP676BC2CD-86EA-4E50-97C6-1-1"
                    ]
                }
            ],
            "ContactInfoList": [
                {
                    "ContactInfoID": "CI1",
                    "EmailAddress": [
                        "user@example.com"
                    ],
                    "Phone": [
                        {
                            "Label": "Mobile",
                            "CountryDialingCode": "82",
                            "AreaCode": "2",
                            "PhoneNumber": "12345678",
                            "Extension": "1234"
                        }
                    ],
                    "ContactRefusedInd": false,
                    "PostalAddress": [
                        {
                            "Label": "HOME",
                            "Street": [
                                "201 W 79th St"
                            ],
                            "CityName": "Seoul",
                            "CountryCode": "KR"
                        }
                    ]
                }
            ]
        },
        "AugmentationPoint": {
            "Any": [
                {}
            ]
        }
    }
}
Modified atĀ 2025-11-10 08:15:08
Previous
ServiceList
Next
OrderChange
Built with