Skip to main content
Read amounts from the *_money fields in this command’s output, such as items[].price_money and totals.total_money. Each carries value in minor units with its decimal_places: divide value by 10 ** decimal_places, or show display. The older fields beside them (price, currency, totals.total) are deprecated and hold major units. See Money & prices.
Assemble and edit a trip before sending it to checkout. Use it to add a flight, hotel or car-rental offer, set traveler details, swap one item for another, or remove an item. For bags, seats and meals, use get-ancillaries to list offers, then the separate select-ancillaries command to choose them. Flights, hotels and cars can sit side by side in the same trip and settle through a single checkout; a trip holding a car needs the contact’s honorific (contact.title) before checkout.

Usage

Options

Examples