v1

latestOpenAPI 3.0.1Apache 2.02026-07-2473111182.6 KB
Booking

Activate a booking

Activate a reserved booking with optional deposit amount provided

post/api/business/{businessId}/branch/{branchId}/booking/{bookingId}/activate

Path parameters

businessIdstring required
branchIdstring required
bookingIdstring required

Request body

depositAmountnumber

The deposit amount paid by the client to confirm the booking. Deposit can only be set when activating an already reserved booking. When creating a new booking with state ACTIVE deposit is set to 0 by default.

Example request

{
  "depositAmount": 1.5
}

Response

Booking activated successfully