---
title: "Calculate booking price"
method: POST
path: "/booking_price"
tags: ["Booking Endpoints"]
---

# Calculate booking price

`POST /booking_price`

Real-time price calculation with extras, tax, and staff costs.
Provide either a `booking_code` to calculate from an existing booking,
or `price.hours` and `price.price` for a custom calculation.

## Headers

- `Authorization` string, required

## Request body

- object
  - `booking_price` object
    - `booking_code` string
    - `price` object
      - `hours` string
      - `days` string
      - `price` string
    - `extras` object[]
      - `id` integer
      - `quantity` integer
    - `staff_ids` integer[]

## Response `200`

Price breakdown

- object
  - `hours` number
  - `days` integer
  - `time_cost` integer
  - `extras` object[]
  - `extras_total` integer
  - `staff_total` integer
  - `subtotal` integer
  - `tax_total` integer
  - `total` integer

---

[API](https://skmtc.net/jammed-org/apis/jammed-bookings-api.md) · [All operations](https://skmtc.net/jammed-org/apis/jammed-bookings-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/jammed-org/jammed-bookings-api/versions/3fc6a6f91b06/schema)
