Skip to content

Create a booking service

POST
/api/v1/booking-services
curl --request POST \
--url https://renotify.app/api/v1/booking-services \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "name": "Haircut", "description": "Wash, cut and style.", "duration_minutes": 45, "buffer_before_minutes": 0, "buffer_after_minutes": 10, "capacity": 1, "price_micros": 30000000, "currency": "EUR", "is_active": true, "booking_page_visible": true, "staff_ids": [ 1 ] }'
Media typeapplication/json
object
name
required

What customers book.

string
Example
Haircut
description

A short description.

string
nullable
Example
Wash, cut and style.
duration_minutes
required

How long it takes, 5 to 720.

integer
Example
45
buffer_before_minutes

Time kept free before.

integer
Example
0
buffer_after_minutes

Time kept free after.

integer
Example
10
capacity

How many customers at once.

integer
Example
1
price_micros

Price in millionths of the currency unit.

integer
nullable
Example
30000000
currency

Currency of the price.

string
nullable
Example
EUR
is_active

Whether it can be booked.

boolean
Example
true
booking_page_visible

Whether it shows on the booking page.

boolean
Example
true
staff_ids

Staff who do this service.

Array<integer>
Example
[
1
]