- 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
Customer - Get Profile
GET
https://test-api.ucuzyolu.com/customer/profile
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
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/customer/profile' \
--header 'client-id: 302382-1928283273-237723829-292999'
Responses
🟢200OK
application/json
Body
data
object (Customer Profile)
required
id
integer
required
name
string
required
email
string <email>
required
phone
string
required
notifications
object
required
birthDate
string <date> | null
required
accountNumber
string
required
identityNumber
string | null
optional
milecardinfo
array [object {2}]
optional
passportinfo
array [object {3}]
required
success
boolean
required
code
integer
required
message
string
required
Example
{
"data": {
"id": 1,
"name": "John Due",
"email": "johndue1@example.com",
"phone": "+905322808035",
"gender": "M",
"newsletter": {
"sms": true,
"email": true,
"push": true
},
"company": {
"name": "Sekiz Kreatif",
"email": "info@sekiz.agency",
"phone": "0216 123 45 67",
"address": "Beykoz",
"city": "İstanbul",
"district": "Beykoz",
"zipcode": "34820",
"active": true,
"commercialTitle": "Sekiz Kreatif İnt. Bil Yaz Rek ve Prod. LTD. ŞTİ.",
"currencyCode": "TRY",
"countryCode": "TR",
"taxOffice": "Avcılar",
"taxNumber": "7590477978",
"remainingLimit": 4987413.25
},
"passportinfo": [
{
"passportNationality": "TR",
"passportNumber": "39238202-2020",
"passportValidDate": "2029-12-01"
}
],
"milecardinfo": [
{
"milecardAirlineCode": "TK",
"milecardNo": "228382"
}
],
"birthDate": "1989-04-20",
"accountNumber": "UY1727459242",
"identityNumber": "49852133948",
"emailVerified": false,
"membershipType": "corporate"
},
"success": true,
"code": 0,
"message": ""
}
Modified at 2024-11-28 01:29:13