Official Api
1.0.0
  • latest
  • 1.0.0
  1. Orders
Official Api
1.0.0
  • latest
  • 1.0.0
  • Auth
    • Login/Guest Login
      • Auth - Guest
      • Auth - Login
      • Auth - Login (With E-Mail)
    • Register
      • Auth - Register
      • Auth - Register Corporate
    • Remember
      • Auth - Remember Password
      • Auth - Remember Otp Verify
      • Auth - Set New Password
    • Auth Otp Verify
      POST
    • Auth - Logout
      DELETE
    • Auth - State
      GET
  • Customer
    • Passengers
      • Passenger List
      • Passenger Create
      • Passenger Delete
      • Passenger Update
    • invoice Info
      • Invoice Info - List
      • Invoice Info - Create
      • Invoice Info - Delete
      • Invoice Info - Update
    • Favorite Flights
      • Favorites - Flight
      • Favorites - Add Flight
      • Favorites - Delete Flight
      • Favorites - Check for Flight
    • Notifications
      • Notifications - Get
      • Notifications - Update
      • Notifications - Register Device
      • Notifications - Unregister Device
    • Fast Actions
      • Fast Actions - Get Flight Actions
      • Fast Actions - Update Flight Actions
      • Fast Actions - Get Bus Actions
      • Fast Actions - Update Bus Actions
      • Fast Actions - Clear Flight Actions
    • Customer - Get Profile
      GET
    • Customer - Update Profile
      POST
    • Customer - Update Password
      POST
    • Search History - Flight
      GET
    • Customer - Remove Account
      DELETE
  • Utils
    • Calendar - Month
      GET
    • Enums - FlightSearchFilters
      GET
  • Flight
    • Search
      • Domestic
        • One Way / 1 ADT
          • Search Flight
          • Get Job (Flight)
          • Calculate Package Price
          • Allocate
          • Set Passengers
          • Prebooking
        • Round Trip / 1 ADT
          • Search Flight
          • Get Job (Flight)
          • Calculate Price
          • Allocate
          • Set Passengers
          • Prebooking
        • Round Trip / 2 ADT
          • Search Flight
          • Get Job (Flight)
          • Calculate Price
          • Allocate
          • Set Passengers
          • Prebooking
        • Round Trip / 1 ADT (Non package)
          • Search Flight
          • Get Job (Flight)
          • Allocate
          • Set Passengers
          • Prebooking
      • International
        • One Way / 1 ADT
          • Search Flight
          • Get Job (Flight)
          • Allocate
          • Set Passengers
          • Prebooking
          • Payment Types
        • Round Trip / 1 ADT
          • Search Flight
          • Get Job (Flight)
          • Allocate
          • Set Passengers
          • Prebooking
        • Round Trip / 2 ADT
          • Search Flight
          • Get Job (Flight)
          • Calculate Price Copy
          • Allocate
          • Set Passengers
          • Prebooking
      • Search Flight - Filter
    • Price Alerts
      • Flight Alerts - Create
      • Flight Alerts - List
      • Flight Alerts - Delete
      • Flight Alerts - Create/Delete
    • Load Journey (dev only)
      GET
  • Bus
    • Bus - Search
    • Get Job (Bus)
    • Bus - Bus Details
    • Bus - Check Seat Status
    • Bus - Set Passengers
    • Bus - Finalize (Local Dev Only)
    • Bus - Search - Filter
  • Hotel
    • Hotel - Search by Destination
    • Hotel - Search by Hotel Code
    • Get Job (Hotel)
    • Hotel - Get Hotel Details
    • Hotel - Validate Rooms
    • Hotel - Set Paxes
    • Hotel - Complete (Dev Only)
  • Socket
  • Auto Completes
    • Airport Search
    • Bus Station Search
    • Hotel Search
  • Queue / Socket
    • Get Job
  • Misc
    • Airlines
    • Countries
    • Popular Cities
    • Currencies
    • Contact Form
    • Check Module Availability
    • Popular Flights
  • Payment
    • Pay with Account Balance (For Corporate Customers)
      • Payment - Account - Check Availablity
      • Payment - Account - Make Payment
    • Credit Card Storage
      • Saved Cards - List
      • Saved Cards - Add
      • Saved Cards - Delete
    • Pay with Credit Card (New Card)
      • Payment Types - Get All
      • Card Payment - Bin Query
      • Card Payment - Prepare 3D Form (new card)
      • Card Payment - Check Status
    • Pay with Credit Card (Saved Card)
      • Payment Types - Get All
      • Saved Cards - List
      • Card Payment - Bin Query
      • Card Payment - Prepare 3D Form (new card)
      • Card Payment - Check Status
  • Orders
    • Get Orders
      POST
    • Get Order
      GET
    • Upcoming Travels
      GET
    • Check Pnr
      POST
    • Check Order Status
      GET
  • Blog
    • Blog - Custom Tags
    • Blog - Category
    • Blog - Newest
  • Contents
    • Kampanyalar
    • Contact Information
    • Gizlilik Sözleşmesi
  • Refund
    • Flight Refund (Query)
    • Flight Refund (Complete)
  • Notifications
    • Notification List
    • Notification - Mark as Read
  • Otp Verify
    POST
  1. Orders

Get Order

Developing
Testing Env
https://test-api.ucuzyolu.com
Testing Env
https://test-api.ucuzyolu.com
GET
https://test-api.ucuzyolu.com
/order

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Query Params
journeyId
string 
required
Example:
rEILHGLMpAZG8hkkj8lIWLJK5Borcu6Sx7Af
debug
string 
required
only in local development
Example:
true
Header Params
client-id
string 
optional
Default:
302382-1928283273-237723829-292999

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 GET 'https://test-api.ucuzyolu.com/order?journeyId=rEILHGLMpAZG8hkkj8lIWLJK5Borcu6Sx7Af&debug=true' \
--header 'client-id: 302382-1928283273-237723829-292999'

Responses

🟢200OK
application/json
Body
data
object (Cart) 
required
id
integer 
required
token
string 
required
total
number 
required
status
string 
required
payment
object 
required
items
object 
required
currencyCode
string 
required
statusName
string 
required
invoice
object  | null 
optional
success
boolean 
required
code
integer 
required
message
string 
required
Example
{
    "data": {
        "id": 1,
        "token": "i9k6NnZgRlrJgqdY2F42Pc2iQ0CFtfc8mh8D",
        "total": 2395.57,
        "status": "pending",
        "payment": {
            "token": "abOy12QzcnuTy4NYE5PHFuaXLhbHw8IunwG5zXb1F6UmwYq4SP3mnUewDcyqIUw7ytRzVXaUqxjUII27iKyYMzEe1GN9jBNvMGS9MCr6eNOsyexAEgYCLuvNZnRjKaqj",
            "amount": 2395.57,
            "state": "new",
            "comission": 0,
            "total": 2395.57,
            "details": {
                "is3d": false
            },
            "paymentType": "Cari Hesap",
            "is3d": false,
            "authMode": "preauth"
        },
        "invoice": {
            "address": "Beykoz",
            "district": "Beykoz",
            "zipcode": "34820",
            "city": "İstanbul",
            "country": "Turkey",
            "isCorporate": true,
            "invoiceName": "Sekiz Kreatif",
            "taxOffice": "Avcılar",
            "taxNumber": "7590477978",
            "invoiceNumber": null
        },
        "items": {
            "flights": [
                {
                    "id": 1,
                    "pnr": "WEB8CP",
                    "refundable": false,
                    "domestic": false,
                    "duration": "01:35",
                    "yr": 149,
                    "vq": 113.96,
                    "date": "2024-09-26",
                    "origin": "IST",
                    "destination": "VAS",
                    "segments": [
                        {
                            "origin": "IST",
                            "destination": "VAS",
                            "date": "2024-09-26",
                            "airline": "TK",
                            "cabin": "B",
                            "price": 2123.61,
                            "tax": 262.96,
                            "total": 2392.57,
                            "margin": 3,
                            "returnDate": null,
                            "flightNumber": "TK2658",
                            "cabinClass": "economy",
                            "currencyCode": "TRY",
                            "grandTotal": 2395.57,
                            "originName": "Atatürk Havalimanı",
                            "destinationName": "Nuri Demirağ Havalimanı",
                            "airlineName": "Turkish Airlines",
                            "arrivalTime": "15:00",
                            "departureTime": "13:45"
                        }
                    ],
                    "passengers": [
                        {
                            "id": 1,
                            "status": 0,
                            "pnr": "WEB8CP",
                            "gender": "M",
                            "birthdate": "1989-04-20",
                            "email": "JOHNDUE@EXAMPLE.COM",
                            "identity": "49852133948",
                            "nationality": "TR",
                            "phone": "+905322808035",
                            "total": 2389.57,
                            "sequenceNo": 1,
                            "ticketNumber": null,
                            "firstName": "MEHMET",
                            "lastName": "GULBILGE",
                            "isLocalCitizen": true,
                            "passportCountry": null,
                            "passportNo": null,
                            "passportValidDate": null,
                            "paxCode": "ADT",
                            "priceHandLuggage": 0,
                            "priceBaggage": 0
                        }
                    ],
                    "sequenceNo": 0,
                    "flightId": "0e26df6e-9183-46ea-8863-f247f6a8a7f0",
                    "passengerCount": 1,
                    "flightType": "oneway",
                    "grandTotal": 2395.57,
                    "airDuration": "01:35",
                    "originCity": "Istanbul",
                    "originName": "Atatürk Havalimanı",
                    "returnDate": null,
                    "arrivalTime": "15:00",
                    "departureTime": "13:45",
                    "destinationCity": "Sivas",
                    "destinationName": "Nuri Demirağ Havalimanı"
                }
            ]
        },
        "currencyCode": "TRY",
        "statusName": "Onay Bekleniyor"
    },
    "success": true,
    "code": 0,
    "message": ""
}
Modified at 2024-10-06 01:07:27
Previous
Get Orders
Next
Upcoming Travels
Built with