Skip to main content
POST
Extend a booking

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

Booking id

Body

application/json

The chosen option

added_minutes
integer
required
Required range: x >= 1
new_end
string<date-time>
required

The chosen option's new_end, sent back unchanged.

Response

The extension, whether this request applied it or an earlier one did.

data
object

The payload. Left out when there is none.

message
string

Text that is safe to show a user. Left out when there is none.

status
enum<string>

success or error. A 410 for a session that has ended says ended instead.

Available options:
success,
error,
ended