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 declining an approval-pending booking request.

reason
string
required

The client-visible reason the barber declined the booking request.

Required string length: 1 - 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.