Usage
Options
| Flag | Required | Description | Default |
|---|---|---|---|
--trip-id <id> | No | existing trip ID (omit to create new) | |
--trip-item-token <token> | No | add a flight item (from flight-search) | |
--remove-item-id <id> | No | remove an existing item by item_id (from a prior trip response items[].item_id). Requires —trip-id. Can be combined with —trip-item-token to swap an item in one call. | |
--travelers <json> | No | travelers JSON array. Required to complete a booking; the first traveler also supplies the booking contact name. | |
--contact <json> | No | contact JSON {email, phone} — both required. Optional while building the cart, but required before booking. |
