Trips

Update Trip

Update trip details.

put/api/v1/trips/{externalId}

Request

  • Base URL: https://www.endlesstravelplans.com
  • URL: https://www.endlesstravelplans.com/api/v1/trips/{externalId}
  • Auth: HTTP bearer

Request body

statusstring

Owner only. archived puts the trip away (it leaves the list unless ?include=archived), planning brings it back. Any other value is a 422; a collaborator sending this field gets a 403.

input_destinationstring nullable
departure_datestring nullable
return_datestring nullable
num_adultsinteger nullable
num_seniorsinteger nullable

How many of the adults are 65 or over. Min 0, max 20.

num_childreninteger nullable
children_agesinteger[]

Must be at least 0. Must not be greater than 17.

trip_type'single_city' | 'multi_city' nullable

Example request

{
  "status": "archived",
  "input_destination": "Tokyo, Japan",
  "departure_date": "2026-05-01",
  "return_date": "2026-05-10",
  "num_adults": 2,
  "num_seniors": 1,
  "children_ages": [
    6
  ],
  "trip_type": "single_city",
  "stops": [
    {
      "destination": "i",
      "nights": 8,
      "travel_mode": "vdljnikhwaykcmyu",
      "order": 16,
      "destination_id": 16
    }
  ]
}

Response

Example response

{
  "trip": {
    "external_id": "uuid",
    "input_destination": "Tokyo, Japan"
  }
}

Changes

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