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

Request

  • Base URL
    https://stardrift.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://stardrift.ai/trips/{trip_id}/itinerary/rooms/save
  • Auth
    none declared

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

No recorded changes to this operation across all 34 revisions of this API.