Appearance
Hotels API
Manage hotel records used in hotel segments and supplier payments.
Endpoints
| Method | Endpoint |
|---|---|
| GET | /api/v1/hotels |
| GET | /api/v1/hotels/{id} |
| POST | /api/v1/hotels |
| PUT | /api/v1/hotels/{id} |
| DELETE | /api/v1/hotels/{id} |
Fields
| Field | Type | Required | Description |
|---|---|---|---|
| name | string | ✅ Yes | Hotel name |
| category | string | No | Defaults to international |
| city | string | null | No | City |
| country | string | null | No | Country |
| address | string | null | No | Address |
| phone_number | string | null | No | Phone number |
| string | null | No | ||
| website | string | null | No | Website URL |
| notes | string | null | No | Additional notes |