v1
latestOpenAPI 3.0.12026-07-247756110.6 KBPackages
Update package
Update Package
patch/draft_trips/{trip_uuid}/packages/{id}
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": {
"name": "Sea Package",
"price": 100000,
"deposit": 2000,
"participants": [
{
"email": "max.smith@wetravel.com",
"first_name": "Max",
"last_name": "Smith"
}
]
}
}