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
      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

Order Commit

POST
/orderCommit.do
This API is only required in the FR integration process. After create an order and before payment, you need to call this API to obtain the link of the FR order confirmation page and display it to users. Users should confirm the order through this page, and finally customer pay to Atlas.

Request

Header Params
Accept
string 
required
Default:
application/json
Content-Type
string 
required
Default:
application/json
Accept-Encoding
string 
required
Default:
gzip
x-atlas-client-id
string 
required
Default:
<YOUR_CLIENT_ID>
x-atlas-client-secret
string 
required
Default:
<YOUR_CLIENT_SECRET>
Body Params application/json
orderNo
string 
required
Order number
redirectUri
string  | null 
optional
The redirect localtion to which when users confirm an order on the
FR's confirmation page. If you choose to display the confirmation page in Popup mode, please specify this.
iframe
string  | null 
optional
If you want to display the FR's order confirmation page in iframe mode, please specify iframe=true, and in this case, the redirectUri will be ignored.
timeout
integer  | null 
optional
Maximum response time of the API in milliseconds.
Default:
8000
Example
{
    "orderNo": "string",
    "redirectUri": "string",
    "iframe": "string",
    "timeout": 8000
}

Request 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/orderCommit.do' \
--header 'Accept;' \
--header 'Accept-Encoding;' \
--header 'x-atlas-client-id;' \
--header 'x-atlas-client-secret;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "orderNo": "string",
    "redirectUri": "string",
    "iframe": "string",
    "timeout": 8000
}'

Responses

🟢200Success
application/json
Body
status
enum<integer> 
required
307: illegal booking request param
800: order not exists
316: timed out
317: airline error
Allowed values:
307800316317
msg
optional
Any of
It serves as an additional description of the response result. Especially when the interface reports an error (status !=0), it is usually a human-readable error message. Note: Do not use this field in any programming scenarios. For example, do not judge whether the interface responds successfully based on this field. Instead, you should only determine it by checking whether the status is equal to0at any time.
confirmationUrl
string 
required
The FR order confirmation page link.
Example
{
    "status": 307,
    "msg": "string",
    "confirmationUrl": "string"
}
Modified at 2025-07-01 01:06:49
Previous
Order
Next
Payment
Built with