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

# jinko exchange commit

> Commit a flight exchange

<Note>
  **Prices in this command's output are integers in minor units.** Money objects
  carry `decimal_places` — divide by `10 ** decimal_places` to display
  (`{ "value": 15977, "decimal_places": 2 }` is **159.77**, not 15,977). See
  [Money & prices](/concepts/money).
</Note>

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      | Jinko booking reference                                                                                                                                                   |         |
| `--last-name <name>`            | Yes      | Last name of the primary traveler                                                                                                                                         |         |
| `--provider <provider>`         | No       | override provider hint                                                                                                                                                    |         |
| `--ticket-numbers <numbers...>` | No       | one or more ticket numbers                                                                                                                                                |         |
| `--user-intent <text>`          | No       | the end user's request in their own words, forwarded to Jinko for observability and relevance (avoid PII). Env fallback: JINKO\_USER\_INTENT. JSON: `intent.user_intent`. |         |

## 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.
