Appearance
Clients API
Manage client profiles associated with bookings.
Endpoints
| Method | Endpoint |
|---|---|
| GET | /api/v1/clients |
| GET | /api/v1/clients/{id} |
| POST | /api/v1/clients |
| PUT | /api/v1/clients/{id} |
Fields
| Field | Type | Required | Description |
|---|---|---|---|
| first_name | string | ✅ Yes | First name |
| last_name | string | ✅ Yes | Last name |
| string | null | No | Email address | |
| phone_number | string | null | No | Phone number |
| address | string | null | No | Street address |
| city | string | null | No | City |
| postal_code | string | null | No | Postal/ZIP code |
| country | string | null | No | Country |
| date_of_birth | string | null | No | YYYY-MM-DD |
| nationality | string | null | No | Nationality |
| passport_number | string | null | No | Passport number |
| passport_expiry | string | null | No | YYYY-MM-DD |
| ticket_no | string | null | No | Ticket number |
| title | string | null | No | MR, MRS, MS, DR |
| gender | string | null | No | MALE, FEMALE, OTHER |
| notes | string | null | No | Additional notes |