Services
Manage your business services, categories, and pricing.
Required scope: services:read or services:write
GET
/businesses/{businessId}/servicesRetrieve all services for a business, grouped by category.
curl "https://api.salonify.eu/api/v1/businesses/{businessId}/services" \
-H "X-API-Key: sk_live_your_key"Response
{
"data": [
{
"id": "cat-uuid",
"name": "Haarschnitte",
"services": [
{
"id": "svc-uuid",
"name": "Herrenhaarschnitt",
"description": "Klassischer Herrenhaarschnitt",
"duration": 30,
"price": 25.00,
"currency": "EUR",
"isActive": true
}
]
}
]
}POST
/businesses/{businessId}/servicesCreate a new service.
Request Body
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Service name |
description | string | No | Service description |
categoryId | string | Yes | Category ID |
duration | number | Yes | Duration in minutes |
price | number | Yes | Price in EUR |
isActive | boolean | No | Default: true |
Request
{
"name": "Balayage",
"description": "Natural-looking hair coloring technique",
"categoryId": "cat-uuid",
"duration": 120,
"price": 150.00
}PATCH
/businesses/{businessId}/services/{serviceId}Update an existing service.
Request Body
| Name | Type | Required | Description |
|---|---|---|---|
name | string | No | Service name |
description | string | No | Service description |
duration | number | No | Duration in minutes |
price | number | No | Price in EUR |
isActive | boolean | No | Active status |
DELETE
/businesses/{businessId}/services/{serviceId}Delete a service. This will not affect existing bookings.