Skip to navigation

Move a block (update unavailability)

View as Markdown

Scope: bookings:write

Changes the dates of an existing block. :b_id must be an unavailable period on this listing; real bookings return 404.

Authentication

AuthorizationBearer

An API token from Settings → API tokens in Fleetwire, sent as Authorization: Bearer …. Each token carries scopes: read for every GET, plus write scopes such as bookings:write.

Path parameters

l_idstringRequired
Listing ID
b_idstringRequired
The block's booking ID

Request

This endpoint expects an object.
trip_startstringRequired

A date and time, e.g. 2026-11-06 10:00:00 or ISO 8601.

trip_endstringRequired

On or after trip_start.

Response

OK
listingobjectOptional
bookingslist of objectsOptional
bookingSavesbooleanOptional

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
429
Too Many Requests Error