Skip to main content

Service

Service schema used by the TheBooking public API.

Fields

FieldRequiredTypeDescription
idNostringResource identifier used by TheBooking.
nameNostringDisplay name shown in the administration panel and booking flows.
descriptionNostringOptional text description.
classNoconst appointmentService type. The public contract documents appointment services only.
colorNostring or nullOptional visual color used by the administration UI.
dataNoobjectAdditional structured data accepted by the route.

Example

{
"id": "resource_123",
"name": "Example name",
"description": "string",
"class": "appointment",
"color": "string",
"data": {}
}