Services API
List
GET /services/get/
Add full=true to include service data properties.
Create
POST /services/add/
{
"name": "Initial consultation",
"description": "A 45-minute consultation",
"color": "#0369a1"
}
The optional class field, when supplied, must be appointment.
Edit
POST /services/edit/ requires id. Additional top-level fields and values inside data are stored as service properties.
Remove
POST /services/remove/?id=s_example
A service with reservations cannot be removed. Deactivate it instead when historical records must remain.