Skip to main content
POST

Headers

Idempotency-Key
string
required

A client-generated idempotency key to ensure operations are only processed once even if a client retries the operation. The V4 UUID format, as defined in RFC 4122, is recommended to avoid collisions but is not required.

Maximum string length: 255

Path Parameters

barberId
string
required

The unique, opaque system identifier for a resource. This case-sensitive ID is also used as path parameters in URLs or in other properties or parameters that reference a resource by ID rather than URL.

appointmentId
string
required

The unique, opaque system identifier for a resource. This case-sensitive ID is also used as path parameters in URLs or in other properties or parameters that reference a resource by ID rather than URL.

Body

application/json

Request body for creating an appointment cancellation as a barber.

actor
enum<string>
required

The party responsible for the cancellation.

Available options:
barber,
client
reason
enum<string>
required

The cancellation reason. Use clientCanceled or noShow for a client actor, barberCanceled for a barber actor, and other for either actor.

Available options:
clientCanceled,
noShow,
barberCanceled,
other
applyCancellationFee
boolean

Whether to apply the derived cancellation fee. Has no effect when the reason derives no fee; when omitted, system default rules apply.

note
string

An optional cancellation note visible to the client.

Maximum string length: 500

Response

Ok. The operation succeeded.

A barber-facing representation of an appointment.

appointment
object
required

The appointment resource.

client
object

The barber's client record linked to the appointment customer.

bookingMessage
string

The customer message saved with the appointment at booking time.

Maximum string length: 500
referencePhotos
object[]

Approved appointment reference photos visible to the barber and customer.

Maximum array length: 3
cancellation
object

The cancellation decision recorded when the appointment is canceled.

cancellationFeePreviews
object

The fee amounts available before a cancellation decision.