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

# jinko exchange commit

> Commit a flight exchange

Execute a flight exchange.

## Usage

```bash theme={null}
jinko exchange commit [options]
```

## Options

| Flag                            | Required                 | Description                                                | Default |
| ------------------------------- | ------------------------ | ---------------------------------------------------------- | ------- |
| `--offer-id <id>`               | Yes                      | exchange offer ID                                          |         |
| `--session-reference <ref>`     | Yes                      | session reference from price response                      |         |
| `--booking-ref <ref>`           | Yes — guest mode         | Jinko booking reference (guest auth, requires --last-name) |         |
| `--last-name <name>`            | Yes — guest mode         | Last name of the primary traveler (guest auth)             |         |
| `--order-id <id>`               | Yes — authenticated mode | DevPlatform order ID (authenticated auth)                  |         |
| `--provider <provider>`         | No                       | override provider hint                                     |         |
| `--ticket-numbers <numbers...>` | No                       | one or more ticket numbers                                 |         |

## Examples

```bash theme={null}
jinko exchange commit \
  --booking-ref JNK-ABC123 \
  --last-name Doe \
  --offer-id exch_offer_abc \
  --session-reference sess_xyz789
```

Returns an `exchange_reference`. Poll `jinko exchange status` until terminal.
