Skip to main content
PATCH
/
barbers
/
{id}
/
settings
Update barber settings
curl --request PATCH \
  --url https://api.guile.app/barbers/{id}/settings \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/merge-patch+json' \
  --data '
{
  "bookingInterval": "15"
}
'
{
  "bookingInterval": "15"
}

Path Parameters

id
string<uuid>
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/merge-patch+json
bookingInterval
enum<string>

Appointment booking time interval

Available options:
15,
20,
30,
60

Response

Ok. The operation succeeded.

Barber settings

bookingInterval
enum<string>
required

Appointment booking time interval

Available options:
15,
20,
30,
60