---
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

## Changes

- **2026-03-25** (v2) `40748de0c299` — 2 info
  - api tag `Booking Endpoints` added
  - api tag `Pricing Endpoints` removed
- **2026-03-25** (v2) `71bc3de607c7` — 1 info
  - endpoint added
- **2022-05-05** (v2) `95c52cb13f9a` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/jammed-org/apis/jammed-bookings-api/changes/booking_price/post.md)

---

[API](https://skmtc.dev/jammed-org/apis/jammed-bookings-api.md) · [All operations](https://skmtc.dev/jammed-org/apis/jammed-bookings-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/jammed-org/jammed-bookings-api/revisions/8edf08285947/schema)
