Atlas API-Sabre
  1. Shopping and Ticketing
Atlas API-Sabre
  • Shopping and Ticketing
    • Search
      POST
    • Verify
      POST
    • Order
      POST
    • Order Commit
      POST
    • Payment
      POST
    • Retrieve Booking
      POST
    • Smart Search(Only For TMC)
      POST
    • Get Offer
      POST
    • Seat Availability
      POST
    • Get Luggage
      POST
  • Post Ticketing Service
    • Search Ancillary
      POST
    • Order Ancillary
      POST
  • Notifications and Webhook
    • Register Webhook
      POST
    • Incident List
      POST
  • Refund
    • Refund Quotation
      POST
    • Make a Refund
      POST
    • Query Refund Status
      POST
  • Other Functions
    • Regenerate Order
      POST
    • Stop Ticket Issuance
      POST
    • Order List
      POST
    • PNR Claim
      POST
    • Get Balance
      POST
    • City Pairs API
      POST
    • Email List
      POST
    • Extract PNR
      POST
    • getAtripToken
      POST
  1. Shopping and Ticketing

Get Luggage

POST
/getLuggage.do
In a booking process, please call the 'getLuggage' API to get precise baggage quotes after price verification via 'verify' or 'getOffer'.
Steps:
1.
API sequence
Search - Verify- getLuggage - Order - Pay
getOffer - getLuggage - Order - Pay
2.
For exact baggage prices, request 'getLuggage'.
3.
Pass 'offerId' in 'getLuggage' requests:
From 'verify': Use sessionId as offerId
From 'getOffer': Use its offerId directly.
4.
'getLuggage' returns all flight segments' baggage data, each identified by a unique productCode.
5.
In the Order step, use the productCode to add specific baggage products to the ticket order.
Endpoint:
https://sandbox.atriptech.com/getLuggage.do

Request

Header Params

Body Params application/json

Example
{
    "offerId": "o_d2c7d44baf2643ebac8b7926a8b0be60_1"
}

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://sandbox.atriptech.com/getLuggage.do' \
--header 'x-atlas-client-id: NAR65434_api_1' \
--header 'x-atlas-client-id;' \
--header 'x-atlas-client-secret: changeit' \
--header 'x-atlas-client-secret;' \
--header 'Accept-Encoding: gzip' \
--header 'Accept-Encoding;' \
--header 'Accept;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "offerId": "o_d2c7d44baf2643ebac8b7926a8b0be60_1"
}'

Responses

🟢200成功
application/json
Body

Example
{
    "status": 0,
    "msg": null,
    "data": {
        "offerId": "o_d2c7d44baf2643ebac8b7926a8b0be60_1",
        "ancillaryProductElements": [
            {
                "ancillaryCode": "SCI_BAG_5KG",
                "auxBaggageElement": {
                    "allWeight": true,
                    "piece": 0,
                    "size": "",
                    "weight": 5
                },
                "canPurchasePostTicket": 1,
                "canPurchaseWithTicket": 1,
                "categoryCode": "StandardCheckInBaggage",
                "clientTechnicalServiceFee": 0,
                "currency": "USD",
                "maxQty": 1,
                "minQty": 1,
                "price": 10.17,
                "productCode": "SCI_BAG_5KG",
                "segmentIndex": 1,
                "vendorCurrency": "IDR",
                "vendorPrice": 165000.00
            },
            {
                "ancillaryCode": "SCI_BAG_10KG",
                "auxBaggageElement": {
                    "allWeight": true,
                    "piece": 0,
                    "size": "",
                    "weight": 10
                },
                "canPurchasePostTicket": 1,
                "canPurchaseWithTicket": 1,
                "categoryCode": "StandardCheckInBaggage",
                "clientTechnicalServiceFee": 0,
                "currency": "USD",
                "maxQty": 1,
                "minQty": 1,
                "price": 16.34,
                "productCode": "SCI_BAG_10KG",
                "segmentIndex": 1,
                "vendorCurrency": "IDR",
                "vendorPrice": 265000.00
            },
            {
                "ancillaryCode": "SCI_BAG_30KG",
                "auxBaggageElement": {
                    "allWeight": true,
                    "piece": 0,
                    "size": "",
                    "weight": 30
                },
                "canPurchasePostTicket": 1,
                "canPurchaseWithTicket": 1,
                "categoryCode": "StandardCheckInBaggage",
                "clientTechnicalServiceFee": 0,
                "currency": "USD",
                "maxQty": 1,
                "minQty": 1,
                "price": 36.06,
                "productCode": "SCI_BAG_30KG",
                "segmentIndex": 1,
                "vendorCurrency": "IDR",
                "vendorPrice": 585000.00
            },
            {
                "ancillaryCode": "SCI_BAG_20KG",
                "auxBaggageElement": {
                    "allWeight": true,
                    "piece": 0,
                    "size": "",
                    "weight": 20
                },
                "canPurchasePostTicket": 1,
                "canPurchaseWithTicket": 1,
                "categoryCode": "StandardCheckInBaggage",
                "clientTechnicalServiceFee": 0,
                "currency": "USD",
                "maxQty": 1,
                "minQty": 1,
                "price": 24.35,
                "productCode": "SCI_BAG_20KG",
                "segmentIndex": 1,
                "vendorCurrency": "IDR",
                "vendorPrice": 395000.00
            },
            {
                "ancillaryCode": "SCI_BAG_40KG",
                "auxBaggageElement": {
                    "allWeight": true,
                    "piece": 0,
                    "size": "",
                    "weight": 40
                },
                "canPurchasePostTicket": 1,
                "canPurchaseWithTicket": 1,
                "categoryCode": "StandardCheckInBaggage",
                "clientTechnicalServiceFee": 0,
                "currency": "USD",
                "maxQty": 1,
                "minQty": 1,
                "price": 48.38,
                "productCode": "SCI_BAG_40KG",
                "segmentIndex": 1,
                "vendorCurrency": "IDR",
                "vendorPrice": 785000.00
            }
        ],
        "inboundSegments": [],
        "outboundSegments": [
            {
                "aircraftCode": "320",
                "arrAirport": "CGK",
                "arrTerminal": "",
                "arrTime": "202508231100",
                "cabin": "",
                "cabinClass": 1,
                "carrier": "QG",
                "codeShare": false,
                "depAirport": "SIN",
                "depTerminal": "",
                "depTime": "202508231010",
                "duration": 110,
                "fareFamily": "ECO",
                "flightNumber": "QG523",
                "operatingCarrier": "",
                "operatingFlightnumber": "",
                "seatCount": 9,
                "segmentIndex": 1,
                "stopCities": ""
            }
        ]
    }
}
Modified at 2025-09-02 05:56:31
Previous
Seat Availability
Next
Search Ancillary
Built with