---
title: "Activate a booking"
method: POST
path: "/api/business/{businessId}/branch/{branchId}/booking/{bookingId}/activate"
tags: ["Booking"]
---

# Activate a booking

`POST /api/business/{businessId}/branch/{branchId}/booking/{bookingId}/activate`

## Request

- Base URL: `http://api-gateway-eu.phorest.com/third-party-api-server`
- URL: `http://api-gateway-eu.phorest.com/third-party-api-server/api/business/{businessId}/branch/{branchId}/booking/{bookingId}/activate`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/phorest/apis/third-party-api/docs/api/business/:businessId/branch/:branchId/booking/:bookingId/activate/post.ts> (a function with typed inputs; its response is checked against the schema)

Activate a reserved booking with optional deposit amount provided

## Path parameters

- `businessId` string, required
- `branchId` string, required
- `bookingId` string, required

## Request body

- BookingActivateRequest: booking deposit
  - `depositAmount` number: 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.

## Response `200`

Booking activated successfully

## Other responses

- `400`: Booking data is invalid, unable to activate a booking
- `404`: Business or branch with the specified ids don't exist
- `429`: Request rate limit exceeded. Current limit set to 100 rps.
- `500`: An error occurred while trying to activate a booking

---

[API](https://skmtc.dev/phorest/apis/third-party-api.md) - [All operations](https://skmtc.dev/phorest/apis/third-party-api/llms.txt) - [OpenAPI document](https://skmtc.dev/phorest/apis/third-party-api/revisions/beea6ef29634?raw)
