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

OrderCancel

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

Overview#

This part of the guide details the use of the OrderCancel API to void or cancel a previously created order. It provides instructions on how to properly terminate a booking and process any related actions.

Usage Guidelines#

Cancel#

Cancels a held (un-ticketed) reservation.

VOID#

Cancels the reservation and VOIDs the ticket(s).

Refund#

Cancels the reservation and Refunds the ticket(s).
šŸ“Œ
KE auto-refund limitations
For KE, there are cases where automatic refunds are not possible
case 1. If any coupon in the ticket is not in status 'I' or 'AL', auto-refund is not available.
case 2. If the first origin airport (OriginCode) of the itinerary is in New Zealand, auto-refund is not available.

Request

Header Params

Body Params application/json

Example
{
    "Sender": {
        "TravelAgency": {
            "AgencyID": "TSDV001",
            "SiteCode": "01",
            "ContactInfoRefID": []
        }
    },
    "PointOfSale": "KR",
    "TransactionID": "8d6ec82e0d3546eaacc49be57b71cef5",
    "Query": {
        "OrderID": "TSDEV-20240315-6f464b4b8d80f67f"
    }
}

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 --location --request POST 'https://hub.halo-platform.net/hub/polarpie/v2/orderCancel' \
--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",
            "ContactInfoRefID": []
        }
    },
    "PointOfSale": "KR",
    "TransactionID": "8d6ec82e0d3546eaacc49be57b71cef5",
    "Query": {
        "OrderID": "TSDEV-20240315-6f464b4b8d80f67f"
    }
}'

Responses

🟢200Success
application/json
Body

Example
{
    "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",
    "AugmentationPoint": {
        "Any": [
            {}
        ]
    }
}
Modified atĀ 2025-11-10 08:13:42
Previous
OrderQuote
Next
General FAQ
Built with