---
title: "Staff: change appointment service, price or duration with a version check. Client notification is opt-in"
method: POST
path: "/api/v1/bookings/{reference}/edit"
---

# Staff: change appointment service, price or duration with a version check. Client notification is opt-in

`POST /api/v1/bookings/{reference}/edit`

## Request

- Base URL: `http://127.0.0.1:4310`
- URL: `http://127.0.0.1:4310/api/v1/bookings/{reference}/edit`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `sfb_session`

## Path parameters

- `reference` string, required

## Request body

- object
  - `service_id` string
  - `price_minor` integer
  - `duration_minutes` integer
  - `expected_version` integer, required
  - `accept_clash` boolean
  - `notify` boolean

## Response `200`

OK

- object

## Other responses

- `400`: Validation error
- `401`: Unauthenticated
- `403`: Forbidden
- `404`: Not found
- `409`: Conflict or invalid state

## Changes

- **2026-10-19** `de234618b4ce`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/scalingfirm/apis/tsf-booking-api/changes/api/v1/bookings/:reference/edit/post.md)

---

[API](https://skmtc.dev/scalingfirm/apis/tsf-booking-api.md) · [All operations](https://skmtc.dev/scalingfirm/apis/tsf-booking-api/llms.txt) · [OpenAPI document](https://skmtc.dev/scalingfirm/apis/tsf-booking-api/revisions/81704199cd37?raw)
