Add-ons
Update add-on
Update Add-on
patch/draft_trips/{trip_uuid}/options/{id}
Request
- Base URLhttps://api.wetravel.com/v2
- URLhttps://api.wetravel.com/v2/draft_trips/{trip_uuid}/options/{id}
- Auth
- HTTP bearer
- or API key in header X-Api-Key
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": {
"id": "2510177931054358528",
"trip_uuid": "105544110",
"name": "Special Tour",
"description": "Extra 1 day for hiking",
"price": 2000,
"price_type": "personal_option",
"quantity": 5,
"created_at": 155564
}
}Changes
No recorded changes to this operation across all 1 revision of this API.