Practitioners
Create a practitioner
Creates a new Practitioner attached to one or more sites. The minimum body is name + site_ids; everything else has a sensible default or null-equivalent. Returns the freshly created practitioner.
The first entry in site_ids becomes the practitioner's "default" site — zones, commission packages, and the user-uniqueness check are evaluated against this site. The practitioner's timezone is inherited from the default site at creation time.
Requires the SETTINGS_MANAGE permission on every site listed in site_ids.
post/shop/practitioners
Query parameters
site_idstring required
Filter results by the site they belong to
Request body
Example request
{
"name": "Jane Doe",
"site_ids": [
"6f1234567890abcdef123456"
],
"avatar_id": "5f1234567890abcdef123456",
"registration_number": "REG123456",
"external_id": "EXT-001"
}Response
The practitioner was created.
Example response
{
"data": {
"id": "5dcb47800000000000000000",
"appointment_restrictions": [
{
"id": "5dcb47800000000000000011",
"appointment_type_ids": [
"5dcb47800000000000000010"
],
"category_ids": [
"5dcb47800000000000000010"
],
"date_from": "2020-06-20",
"date_to": "2020-06-20",
"max_duration": 180,
"occupied_mins": 60
}
],
"avatar": {
"file_name": "super-cool-photo.jpg",
"mime_type": "image/jpeg",
"original_url": "https://example.com/media/super-cool-photo.jpg",
"size": 84256,
"url": "https://example.com/media/super-cool-photo-thumbnail@2x.jpg"
},
"signature": {
"file_name": "super-cool-photo.jpg",
"mime_type": "image/jpeg",
"original_url": "https://example.com/media/super-cool-photo.jpg",
"size": 84256,
"url": "https://example.com/media/super-cool-photo-thumbnail@2x.jpg"
},
"gender": "female",
"name": "Jane Doe",
"registration_number": "A123",
"organisation_id": "5f8a1b2c-9d3e-4a5b-8c6d-7e8f9a0b1c2d",
"zones": [
{
"id": "5f1234567890abcdef123456",
"name": "Pool Deck",
"organisation_id": "22222222-2222-2222-2222-222222222222",
"site_id": "11111111-1111-1111-1111-111111111111"
}
],
"external_id": "EXT-001",
"user_id": "5f8a1b2c-9d3e-4a5b-8c6d-7e8f9a0b1c2d",
"created_at": "2025-02-04T12:00:00+01:00",
"updated_at": "2025-02-04T12:00:00+01:00"
}
}