Itineraries (v2)
Change a draft's inputs
The same body as create, on an itinerary the caller may edit (can.edit on the document: the owner, an itinerary editor, or an accepted editor of its trip); anyone else gets 404. Fields left out keep their stored values. The row keeps its plan; generate again to rebuild it. Only the owner can move it to another trip.
put/api/v2/itineraries/{externalId}
Request
- Base URL: https://www.endlesstravelplans.com
- URL: https://www.endlesstravelplans.com/api/v2/itineraries/{externalId}
- Auth: HTTP bearer
Request body
Example request
{
"generate": true,
"tripExternalId": "b",
"destination": "n",
"destinationId": 16,
"startDate": "2026-10-16",
"endDate": "2026-10-16",
"intensityLevel": "ngzmiyvdljnikhwa",
"numAdults": 24,
"numSeniors": 18,
"numChildren": 8,
"childrenAges": [
1
],
"interests": [
"y"
],
"categories": [
"u"
],
"mustDo": "w",
"mustDoChips": [
"p"
],
"tripType": "single_city",
"stops": [
{
"destination": "n",
"destination_id": 16,
"nights": 22
}
],
"quickStartTemplateId": 16
}Response
Example response
{
"external_id": "9c7e",
"state": "draft",
"inputs": {
"destination": "Porto, Portugal"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.