Trips

Update a trip

Only the fields given change. traveler_ids replaces the traveller list; cover_photo_id "" clears the cover. Members of the owning account only.

patch/api/trips/{id}

Request

  • Base URL: https://trvlrr.app
  • URL: https://trvlrr.app/api/trips/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

The trip id.

Request body

titlestring

Title.

start_datestring

Date, YYYY-MM-DD.

end_datestring

Date, YYYY-MM-DD.

status'past' | 'planning' | 'booked' | 'active'

past, planning, booked or active.

notesstring nullable

Notes.

cover_photo_idstring

A photo id to use as the cover, or "" to clear it.

traveler_idsstring[]

Person ids. Replaces the list.

budget_rawstring nullable

A budget with currency, e.g. "AUD 8000"; null clears it.

Response

Updated.

okboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.