- Auth
- Customer
- Passengers
- invoice Info
- Favorite Flights
- Notifications
- Fast Actions
- Customer - Get ProfileGET
- Customer - Update ProfilePOST
- Customer - Update PasswordPOST
- Search History - FlightGET
- Customer - Remove AccountDELETE
- Utils
- Flight
- Bus
- Hotel
- Socket
- Auto Completes
- Queue / Socket
- Misc
- Payment
- Orders
- Blog
- Contents
- Refund
- Notifications
- Checkout
- Otp VerifyPOST
- StatusGET
Bus - Finalize (Local Dev Only)
POST
https://test-api.ucuzyolu.com/bus/finalize
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Header Params
client-id
string
optional
Default:
302382-1928283273-237723829-292999
Body Params application/json
journeyId
string
required
phone
string
required
email
string
required
passengers
array [object {7}]
required
seatId
string
required
firstName
string
required
lastName
string
required
gender
enum<string>
required
Allowed values:
MF
birthDate
string <date>
optional
citizenNo
string
required
nationality
string
required
>= 2 characters<= 2 characters
Example:
TR
Example
{
"journeyId": "string",
"phone": "string",
"email": "string",
"passengers": [
{
"seatId": "string",
"firstName": "string",
"lastName": "string",
"gender": "M",
"birthDate": "2019-08-24",
"citizenNo": "string",
"nationality": "TR"
}
]
}
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://test-api.ucuzyolu.com/bus/finalize' \
--header 'client-id: 302382-1928283273-237723829-292999' \
--header 'Content-Type: application/json' \
--data-raw ''
Responses
🟢200Success
application/json
Body
object {0}
Example
{}
Modified at 2024-11-28 01:29:13