Packages
Update package
Update Package
patch/draft_trips/{trip_uuid}/packages/{id}
Request
- Base URLhttps://api.wetravel.com/v2
- URLhttps://api.wetravel.com/v2/draft_trips/{trip_uuid}/packages/{id}
- Auth
- HTTP bearer
- or API key in header X-Api-Key
Path parameters
trip_uuidstring required
idstring required
ID of the package
Request body
Example request
{
"data": {
"name": "Early bird",
"deposit": 150,
"price": 450,
"quantity": 7,
"description": "Early bird package",
"participants_per_package": 1
}
}Response
Successfully updated
Example response
{
"data": {
"id": "2510177931054358528",
"trip_uuid": "105544110",
"name": "Early bird",
"deposit": 150,
"price": 450,
"quantity": 7,
"description": "Early bird package",
"created_at": 144445
}
}Changes
No recorded changes to this operation across all 1 revision of this API.