v1
latestOpenAPI 3.0.12026-07-247756110.6 KBTrips
Create trip
Creating a "draft" trip object. Using the other endpoints of Trip builder you can enhance your trip object and eventually publish it.
post/draft_trips
Request body
Example request
{
"data": {
"trip_id": "TRIP20",
"url": "https://wetravel.com/trips/123456",
"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": "Thanks for booking the trip! Please <a href=\"http://example.com\">see the details</a>",
"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 created
Example response
{
"data": {
"title": "Epic Trip"
}
}