itinerary

Save Room

Save a room to the trip, putting its hotel there first if it is not.

Two applies rather than one: the room action needs the stay's id, which only exists once the add has resolved. The add dedupes on source_reference, so a hotel already on the trip is reused rather than duplicated, and re-saving is idempotent on both halves.

post/trips/{trip_id}/itinerary/rooms/save

Path parameters

trip_idstring required

Headers

x-client-idstring nullable

Request body

tool_call_idstring required
result_indexinteger required
conversation_idstring required

Response

Successful Response

stay_idstring required
itineraryobject required

Changes