v1
latestOpenAPI 3.0.12026-07-247756110.6 KBAdd-ons
Update add-on
Update Add-on
patch/draft_trips/{trip_uuid}/options/{id}
Path parameters
trip_uuidstring required
idstring required
ID of the add-on
Request body
Example request
{
"data": {
"name": "Special Tour",
"description": "Extra 1 day for hiking",
"price": 2000,
"price_type": "personal_option",
"quantity": 5
}
}Response
Successfully updated
Example response
{
"data": {
"trip_option_id": "2354579505229986943",
"price": 100000,
"name": "Gold package",
"type": "package",
"active_count": 1,
"deposit_amount": 5000,
"has_deposit": true,
"participants": [
{
"email": "max.smith@wetravel.com",
"first_name": "Max",
"last_name": "Smith"
}
]
}
}