v1

latestOpenAPI 3.0.12026-07-247756110.6 KB
Trips

Update trip

Update Trip

patch/draft_trips/{trip_uuid}

Path parameters

trip_uuidstring required

UUID of the trip

Request body

Example request

{
  "data": {
    "trip_id": "TRIP20",
    "title": "Epic London Trip",
    "destination": "London, Uk",
    "start_date": "2021-05-07T00:00:00.000Z",
    "end_date": "2021-05-07T00:00:00.000Z",
    "group_min": 5,
    "group_max": 15,
    "currency": "USD",
    "participant_list_show_type": "everyone",
    "welcome_message": "YAY!!!",
    "participant_fees": "all",
    "listing_status": "private",
    "waiting_list_enabled": true,
    "can_contribute": true,
    "carbon_offset": {
      "enabled": true,
      "percentage": 2.5,
      "paid_by_participant": true
    }
  }
}

Response

Successfully updated

Example response

{
  "data": {
    "title": "Epic Trip"
  }
}