v1

latestOpenAPI 3.0.12026-07-247756110.6 KB
Trip Overview

Update overview event

Update Overview Event

patch/draft_trips/{trip_uuid}/itineraries/{id}

Path parameters

trip_uuidstring required
idstring required

ID of the overview event

Request body

Example request

{
  "data": {
    "title": "Day 1",
    "name": "Day 1 - Arrival",
    "description": "Tour of city",
    "photo_url": "https://filestack/123456"
  }
}

Response

Successfully updated

idinteger

ID of the itinerary event

trip_uuidstring required

Unique ID of the trip

titlestring required

Title of the itinerary event

namestring required

Name of the itinerary event

descriptionstring

Description of the itinerary event

photo_urlstring required

Image url of the itinerary event

Example response

{
  "id": 78,
  "trip_uuid": "12345678",
  "title": "Day 1",
  "name": "Day 1 itinerary",
  "description": "Tour of city",
  "photo_url": "https://filestack/123456"
}