Skip to main content
POST
Create a barber service

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.

Body

application/json

Properties for creating a new service for a barber.

A service can be configured as a base service, add-on, or bundle. When configured as a bundle, the service cannot be configured as an add-on or included in another bundle.

Services that are not bundles and have configurations for being used as a base service, an add-on, or both.

name
string
required

The display name for this service.

Example:

"Skin Fade"

visibility
enum<string>
required

The visibility of the service. Hidden services are not visible to customers.

Available options:
visible,
hidden
bundledAddOns
object[]
required

Additional add-on services included in this service bundle.

Example:
categories
object[]
required

The categories for this service.

Example:
description
string
required

The description of this service.

Maximum string length: 500
Example:

"Expertly transitioned fade with optional designs on the side."

duration
string<duration>

The duration of the service.

Example:

"PT30M"

cost
string<decimal>

The cost of the service, excluding any fees or taxes.

Pattern: ^-?(0|[1-9][0-9]*)\.[0-9][0-9]$
Example:

"45.00"

addOn
object

If set, the configuration for this service when used as an add-on.

ageRestrictions
object

The age restrictions, if any, for this service.

Response

Created.

Representation of a service assigned to a barber.

id
string
required

The unique identifier for this barber service assignment.

barber
object
required

The barber this service is assigned to.

service
object
required

The service that is assigned to the barber.

visibility
enum<string>
required

The visibility of the service for this barber. Hidden services are not visible to customers.

Available options:
visible,
hidden
availableForOffHours
boolean
default:false
required

Whether this service is available for off-hours bookings. When false, the service cannot be booked during off-hours time slots.

createdAt
string<date-time>
required

The date-time when this resource was created, in RFC 3339 date-time YYYY-MM-DDThh:mm:ss.sssZ format, UTC. This is derived and immutable.

updatedAt
string<date-time>
required

The date-time when this resource was updated, in RFC 3339 date-time YYYY-MM-DDThh:mm:ss.sssZ format, UTC. This is derived and immutable.

cost
string<decimal>

The barber-specific cost override for the service, excluding any fees or taxes.

Pattern: ^-?(0|[1-9][0-9]*)\.[0-9][0-9]$
Example:

"45.00"