PUT
/api/partner/v1/bookings/{bookingId}Update booking
Update a booking's dates and/or status.
Moving the window also moves that period's tolls: crossings the new window no longer covers leave the booking (to whichever booking does cover them, or to the owner), and crossings it now covers are pulled in. Tolls whose money was already taken never move — that needs a refund, not a date edit. The change is recorded in the security audit trail.
Authorization
X-Api-Key headerSend your partner key on every request. The key is bound to exactly one owner account.
Path parameters
bookingIdstringpathrequiredBody
application/jsondateFromstring <date-time>nullabledateTostring <date-time>nullablestatusintegernullableResponse
200 · application/jsonsuccessbooleanrequireddataobjectidstringexternalIdstringnullableYour own booking id
carIdstringcarExternalIdstringnullablerenterIdstringrenterExternalIdstringnullabledateFromstring <date-time>dateTostring <date-time>statusinteger0=Init, 1=PendingApproval, 6=Approved, 7=Completed, 8=Draft, 17=Canceled.
statusNamestringpricenumberisApprovedbooleanerrorstringnullableStatus codes
200The updated booking.
400Validation error.
401Missing, unknown or revoked API key.
404The resource does not exist under this owner.
409The new window would overlap another live booking of the same vehicle on hours the stored window did not already overlap. Overlap that already existed is left alone, so a booking recorded with a wrong end date can still be corrected. Nothing is saved when this is returned.
