Update Destination Option
update_destination_optionEdit an existing accommodation, transport or getting-around option — correct a price, add a booking link, adjust check-in dates. Say which kind of option it is and pass the option key from get_trip. Only the fields you send are changed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Fields to change. Send only the fields that apply to this kind of option. | |
| kind | Yes | Which kind of option is being edited. | |
| tripId | Yes | Id of the trip, as returned by list_trips or get_trip. | |
| optionKey | Yes | Key of the accommodation / transport / getting-around option, from get_trip. Same value that select_destination_option calls optionId — the API names it inconsistently. | |
| variantId | Yes | Id of the trip variant (an alternative version of the trip), from get_trip. | |
| destinationKey | Yes | Key of the destination inside the variant, from get_trip (e.g. "destination-1"). |