> ## Documentation Index
> Fetch the complete documentation index at: https://docs.uplink.build/llms.txt
> Use this file to discover all available pages before exploring further.

# uplink:Reservation

> One travel booking under a confirmation code — flight segments, a hotel stay, a car rental, or a rail ticket.

**`uplink:Reservation/v1`** — one booking under a single confirmation code. `kind` says what was booked and which detail block applies: flights carry `segments`, hotels carry `stay`. One type, so a trips list renders every travel connector with one renderer.

Money is a **human-formatted string** with currency; points are numbers; dates and times are provider-formatted.

## Fields

| Field | Type | Required | Description |
| - | - | - | - |
| `confirmationCode` | string | ✓ | Provider confirmation or record locator (`ABC123`), kept as a string. |
| `kind` | enum: `flight` \| `hotel` \| `car` \| `rail` | ✓ | What was booked. |
| `status` | string | | Provider wording: `confirmed`, `checked in`, `cancelled`, `completed`. Free-form. |
| `provider` | string | | Airline, hotel brand, or rental company (`Southwest`, `Hilton`, `Hertz`). |
| `startDate` | string | | Departure or check-in date, provider-formatted. |
| `endDate` | string | | Final arrival or check-out date, provider-formatted. |
| `travelers` | array\<string> | | Names on the booking. |
| `total` | string | | Amount paid or due, formatted with currency. Omitted for award bookings with no cash total. |
| `currency` | string | | ISO 4217 code for `total`. |
| `pointsUsed` | number | | Points or miles redeemed, for award bookings. |
| `segments` | array\<object> | | Flight legs in travel order. See below. |
| `stay` | object | | Lodging details. See below. |
| `url` | string | | Manage-booking page on the provider. |

### `segments[]` items

| Field | Type | Required | Description |
| - | - | - | - |
| `carrier` | string | | Operating carrier code or name (`WN`, `Delta`). |
| `flightNumber` | string | | |
| `origin` | string | ✓ | Departure airport code (`SFO`). |
| `destination` | string | ✓ | Arrival airport code (`AUS`). |
| `departsAt` | string | | Scheduled departure, provider-formatted, usually ISO-8601 with offset. |
| `arrivesAt` | string | | Scheduled arrival, provider-formatted. |
| `cabin` | string | | Fare or cabin name as the provider words it (`Wanna Get Away`, `Comfort+`). |
| `seat` | string | | |
| `status` | string | | Per-leg status (`on time`, `delayed`, `cancelled`). Free-form. |

### `stay`

| Field | Type | Required | Description |
| - | - | - | - |
| `property` | string | ✓ | Hotel name (`Hilton Austin`). |
| `address` | string | | |
| `checkIn` | string | | Check-in date or date-time, provider-formatted. |
| `checkOut` | string | | Check-out date or date-time, provider-formatted. |
| `roomType` | string | | |
| `nights` | number | | |
| `guests` | number | | |
| `rate` | string | | Nightly rate, formatted with currency. |

## Example

```json theme={null}
{
  "confirmationCode": "ABC123",
  "kind": "flight",
  "status": "confirmed",
  "provider": "Southwest",
  "startDate": "2026-08-14",
  "endDate": "2026-08-18",
  "travelers": ["Jane Doe"],
  "total": "$412.96",
  "currency": "USD",
  "segments": [
    { "carrier": "WN", "flightNumber": "1842", "origin": "SFO", "destination": "AUS", "departsAt": "2026-08-14T07:15:00-07:00", "arrivesAt": "2026-08-14T12:40:00-05:00", "cabin": "Wanna Get Away", "seat": "14C" },
    { "carrier": "WN", "flightNumber": "2210", "origin": "AUS", "destination": "SFO", "departsAt": "2026-08-18T17:05:00-05:00", "arrivesAt": "2026-08-18T19:20:00-07:00", "cabin": "Wanna Get Away" }
  ]
}
```

## Emitted by

* `@atomic/delta` — `reservations` on `fetchAll`
* `@atomic/hilton` — `reservations` on `fetchAll`
* `@atomic/southwest` — `reservations` on `fetchAll`

## Related

* [`uplink:LoyaltyAccount`](https://docs.uplink.build/vocabulary/LoyaltyAccount) — the program the booking earns into
* [`uplink:PointsActivity`](https://docs.uplink.build/vocabulary/PointsActivity) — earn events that reference `confirmationCode`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.