Create a bookable service
create_bookable_serviceCreate a bookable service to offer customers time-slot appointments or date-range rentals, with configurable pricing, availability, and booking rules.
Instructions
Create a service that customers can book. Two modes: • booking_type='time_slot' (default) — meeting / appointment style with fixed duration_minutes (e.g. 30, 60). • booking_type='date_range' — apartment / rental style with min_nights / max_nights. Free; embedding is via setup_booking_widget.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Customer-facing name. e.g. 'Cozy beach apartment' or '30-min consultation'. | |
| slug | No | URL slug; auto-generated from name if omitted. | |
| color | No | Hex color used in the calendar UI. | |
| price | No | Price in minor units (cents/pence). 0 = free. Default 0. | |
| images | No | List of image URLs (max 2048 chars each). | |
| status | No | Defaults to 'active'. | |
| currency | No | ISO-4217 currency code, lowercase. Default 'gbp'. | |
| metadata | No | Free-form JSON bag stored on the service. | |
| max_nights | No | [date_range] Maximum stay in nights. Default 30. | |
| min_nights | No | [date_range] Minimum stay in nights. Default 1. | |
| sort_order | No | ||
| description | No | Long description (markdown OK). | |
| booking_type | No | 'time_slot' for meetings/appointments (default), 'date_range' for apartment/rental stays. | |
| duration_minutes | No | [time_slot] Slot length in minutes. Default 60. | |
| max_advance_days | No | How far ahead bookings are allowed. | |
| min_notice_hours | No | Minimum hours-ahead for new bookings. | |
| short_description | No | ||
| cancellation_hours | No | Customer cancellation window in hours. | |
| buffer_after_minutes | No | ||
| buffer_before_minutes | No | ||
| max_bookings_per_slot | No |