| id |
required |
string |
The id of the booking type. |
| code |
required |
string |
The short code for the booking type. |
| name |
required |
string |
The long name for the booking type. |
| duration |
required |
integer |
The default duration in minutes of the booking type. |
| color |
optional |
color |
The color of the booking type to display on the booking screen. |
| booking_strategy |
optional |
booking-strategy |
The booking strategy to use for the booking type. |
| allows_double_booking |
required |
boolean |
A flag to indicate that this booking is allowed to be booked over by another booking. |
| creditable_product.id |
required if linked to a service. optional if not linked to a service. |
relation:"products.id" |
The id of the product that this booking type should be linked to. |