---
title: "Cancel a service booking"
method: PUT
path: "/v1/invoices/{invoice_id}/cancel"
---

# Cancel a service booking

`PUT /v1/invoices/{invoice_id}/cancel`

## Request

- Base URL: `https://api.zenoti.com`
- URL: `https://api.zenoti.com/v1/invoices/{invoice_id}/cancel`
- Auth: none required
- TypeScript: <https://skmtc.dev/zenoti/apis/zenoti-authentication/docs/v1/invoices/:invoice_id/cancel/put.ts> (a function with typed inputs; its response is checked against the schema)

Use this API to cancel a service booking.

You must specify the `invoice_id` parameter, and this API will cancel all the appointments and purchases associated with the invoice.

This API also allows guests to cancel service bookings of family members. Provided, there is a relationship defined in Zenoti and only the host can cancel the service booking of family members.

## Path parameters

- `invoice_id` string, required

## Query parameters

- `comments` string

## Response `200`

200

- object
  - `success` boolean
  - `is_charge_applied` boolean

## Other responses

- `400`: 400

---

[API](https://skmtc.dev/zenoti/apis/zenoti-authentication.md) - [All operations](https://skmtc.dev/zenoti/apis/zenoti-authentication/llms.txt) - [OpenAPI document](https://skmtc.dev/zenoti/apis/zenoti-authentication/revisions/e628f892391a?raw)
