Appearance
Suppliers API
Manage suppliers for hotels, airlines, and car rentals.
Endpoints
| Method | Endpoint |
|---|---|
| GET | /api/v1/suppliers |
| GET | /api/v1/suppliers/{id} |
| POST | /api/v1/suppliers |
| PUT | /api/v1/suppliers/{id} |
| DELETE | /api/v1/suppliers/{id} |
Query Parameters (List)
| Parameter | Type | Description |
|---|---|---|
| type | string | HOTEL, AIRLINE, CAR_RENTAL |
Fields
| Field | Type | Required | Description |
|---|---|---|---|
| name | string | ✅ Yes | Supplier name |
| type | string | ✅ Yes | HOTEL, AIRLINE, CAR_RENTAL |
| code | string | null | No | Supplier code |
| string | null | No | Contact email | |
| phone_number | string | null | No | Contact phone |
| address | string | null | No | Address |