Download OpenAPI specification:Download
The service provides capabilities to interact with the catalog’s stored data inside of BEAUTY_OS Core in MongoDB. This is used throughout the website to retrieve information about the catalog and interact with the catalog’s settings.
Creates or updates a client salon service If a record with matching salonId, stylistSingleSalonId, serviceId, and clientId exists, updates it Otherwise, creates a new record
The client salon service data
| salonId required | string |
| stylistSingleSalonId required | string |
| serviceId required | string |
| clientId required | string |
| cost | number <double> |
| rememberCost | boolean |
| duration | number <double> |
| rememberDuration | boolean |
{- "salonId": "string",
- "stylistSingleSalonId": "string",
- "serviceId": "string",
- "clientId": "string",
- "cost": 0.1,
- "rememberCost": true,
- "duration": 0.1,
- "rememberDuration": true
}"string"Retrieves all client salon services with optional filtering
| salonId | string Optional salon ID filter |
| stylistSingleSalonId | string Optional single salon ID filter |
| serviceId | string Optional service ID filter |
| clientId | string Optional client ID filter |
| user-id required | string |
[- {
- "id": "string",
- "salonId": "string",
- "stylistSingleSalonId": "string",
- "serviceId": "string",
- "clientId": "string",
- "cost": 0.1,
- "duration": 0.1
}
]Retrieves a client salon service by ID
| id required | string The ID of the client salon service |
| user-id required | string |
{- "id": "string",
- "salonId": "string",
- "stylistSingleSalonId": "string",
- "serviceId": "string",
- "clientId": "string",
- "cost": 0.1,
- "duration": 0.1
}Retrieves client salon services by client ID
| clientId required | string The client ID |
| user-id required | string |
[- {
- "id": "string",
- "salonId": "string",
- "stylistSingleSalonId": "string",
- "serviceId": "string",
- "clientId": "string",
- "cost": 0.1,
- "duration": 0.1
}
]Retrieves client salon services by salon ID
| salonId required | string The salon ID |
| user-id required | string |
[- {
- "id": "string",
- "salonId": "string",
- "stylistSingleSalonId": "string",
- "serviceId": "string",
- "clientId": "string",
- "cost": 0.1,
- "duration": 0.1
}
]Creates a new salon category
| user-id required | string |
Represents the salon category data that is being created.
| name required | string |
| hex required | string |
| salonId required | string |
| stylistSingleSalonId | string |
{- "name": "string",
- "hex": "string",
- "salonId": "string",
- "stylistSingleSalonId": "string"
}{- "id": "string",
- "name": "string",
- "order": 0.1,
- "active": true,
- "groupId": "string",
- "salonId": "string",
- "stylistSingleSalonId": "string",
- "templateId": "string"
}Retrieves salon category's data by given ID.
| userId required | string |
| user-id required | string |
{- "id": "string",
- "name": "string",
- "order": 0.1,
- "active": true,
- "groupId": "string",
- "salonId": "string",
- "stylistSingleSalonId": "string",
- "templateId": "string"
}Updates a salon category
| salonCategoryId required | string The ID of the salon category to update |
| user-id required | string |
The request body containing the updated salon category data
| name required | string |
| hex required | string |
| salonId required | string |
| stylistSingleSalonId | string |
{- "name": "string",
- "hex": "string",
- "salonId": "string",
- "stylistSingleSalonId": "string"
}{- "id": "string",
- "name": "string",
- "order": 0.1,
- "active": true,
- "groupId": "string",
- "salonId": "string",
- "stylistSingleSalonId": "string",
- "templateId": "string"
}Updates the order of a salon category
| salonCategoryId required | string The ID of the salon category to update |
| user-id required | string |
The request body containing the updated salon category data
| newOrderIndex required | number <double> |
{- "newOrderIndex": 0.1
}"string"Retrieves salon category's data by given ID.
| id required | string Represents the given ID for a salon category. |
{- "id": "string",
- "name": "string",
- "order": 0.1,
- "active": true,
- "groupId": "string",
- "salonId": "string",
- "stylistSingleSalonId": "string",
- "templateId": "string"
}Get all services with the given ids
| serviceIds required | Array of strings |
[- {
- "id": "string",
- "name": "string",
- "description": "string",
- "cost": 0.1,
- "costMax": 0.1,
- "duration": {
- "start": 0.1,
- "break": 0.1,
- "finish": 0.1
}, - "hasBreak": true,
- "canBookOnline": true,
- "doubleBooking": true,
- "bookScheduleBeforeMinutes": 0.1,
- "bookScheduleAfterMinutes": 0.1,
- "active": true,
- "order": 0.1,
- "categoryId": "string",
- "groupId": "string",
- "type": "SERVICE",
- "parentServiceId": "string",
- "backbar": {
- "colorValue": 0.1,
- "bleachValue": 0.1,
- "tonerValue": 0.1,
- "treatmentValue": 0.1
}, - "salonId": "string",
- "stylistSingleSalonId": "string",
- "templateId": "string",
- "templateName": "string"
}
]Get services by stylist single salon id and template ids
| stylistSingleSalonId required | string |
| templateIds required | Array of strings |
[- {
- "id": "string",
- "name": "string",
- "description": "string",
- "cost": 0.1,
- "costMax": 0.1,
- "duration": {
- "start": 0.1,
- "break": 0.1,
- "finish": 0.1
}, - "hasBreak": true,
- "canBookOnline": true,
- "doubleBooking": true,
- "bookScheduleBeforeMinutes": 0.1,
- "bookScheduleAfterMinutes": 0.1,
- "active": true,
- "order": 0.1,
- "categoryId": "string",
- "groupId": "string",
- "type": "SERVICE",
- "parentServiceId": "string",
- "backbar": {
- "colorValue": 0.1,
- "bleachValue": 0.1,
- "tonerValue": 0.1,
- "treatmentValue": 0.1
}, - "salonId": "string",
- "stylistSingleSalonId": "string",
- "templateId": "string",
- "templateName": "string"
}
]Get services by salon and stylist
| salonId required | string |
| stylistSingleSalonId required | string |
[- {
- "id": "string",
- "name": "string",
- "description": "string",
- "cost": 0.1,
- "costMax": 0.1,
- "duration": {
- "start": 0.1,
- "break": 0.1,
- "finish": 0.1
}, - "hasBreak": true,
- "canBookOnline": true,
- "doubleBooking": true,
- "bookScheduleBeforeMinutes": 0.1,
- "bookScheduleAfterMinutes": 0.1,
- "active": true,
- "order": 0.1,
- "categoryId": "string",
- "groupId": "string",
- "type": "SERVICE",
- "parentServiceId": "string",
- "backbar": {
- "colorValue": 0.1,
- "bleachValue": 0.1,
- "tonerValue": 0.1,
- "treatmentValue": 0.1
}, - "salonId": "string",
- "stylistSingleSalonId": "string",
- "templateId": "string",
- "templateName": "string"
}
]Retrieves template category's data by given ID.
| id required | string Represents the given ID for a template category. |
{- "id": "string",
- "name": "string",
- "order": 0.1,
- "groupId": "string",
- "deleted": true
}Retrieves template service's data by given ID.
| id required | string Represents the given ID for a template service. |
{- "id": "string",
- "name": "string",
- "description": "string",
- "cost": 0.1,
- "costMax": 0.1,
- "duration": {
- "start": 0.1,
- "break": 0.1,
- "finish": 0.1
}, - "hasBreak": true,
- "canBookOnline": true,
- "doubleBooking": true,
- "bookScheduleBeforeMinutes": 0.1,
- "bookScheduleAfterMinutes": 0.1,
- "active": true,
- "order": 0.1,
- "categoryId": "string",
- "groupId": "string",
- "type": "SERVICE",
- "parentServiceId": "string",
- "backbar": {
- "colorValue": 0.1,
- "bleachValue": 0.1,
- "tonerValue": 0.1,
- "treatmentValue": 0.1
}
}Retrieves service's data by given ID.
| id required | string Represents the given ID for a service group. |
| user-id required | string |
{- "id": "string",
- "name": "string",
- "active": true,
- "order": 0.1
}Creates a new salon service
| user-id required | string |
Represents the salon service data that is being created.
| name required | string |
| description | string |
| cost required | number <double> |
| costMax | number <double> |
| smartPrice | boolean |
| smartPriceValue | number <double> |
| smartDuration | boolean |
required | object (DurationRequest) |
| hasBreak required | boolean |
| canBookOnline required | boolean |
| doubleBooking required | boolean |
| bookScheduleBefore | boolean |
| bookScheduleBeforeMinutes | number <double> |
| bookScheduleAfter | boolean |
| bookScheduleAfterMinutes | number <double> |
| type required | string (ServiceType) Enum: "SERVICE" "ADD_ON" |
object (BackbarRequest) | |
| categoryId required | string |
| parentServiceId | string |
| salonId required | string |
| stylistSingleSalonId | string |
{- "name": "string",
- "description": "string",
- "cost": 0.1,
- "costMax": 0.1,
- "smartPrice": true,
- "smartPriceValue": 0.1,
- "smartDuration": true,
- "duration": {
- "start": 0.1,
- "break": 0.1,
- "finish": 0.1
}, - "hasBreak": true,
- "canBookOnline": true,
- "doubleBooking": true,
- "bookScheduleBefore": true,
- "bookScheduleBeforeMinutes": 0.1,
- "bookScheduleAfter": true,
- "bookScheduleAfterMinutes": 0.1,
- "type": "SERVICE",
- "backbar": {
- "colorValue": 0.1,
- "bleachValue": 0.1,
- "tonerValue": 0.1,
- "treatmentValue": 0.1
}, - "categoryId": "string",
- "parentServiceId": "string",
- "salonId": "string",
- "stylistSingleSalonId": "string"
}{- "id": "string",
- "name": "string",
- "description": "string",
- "cost": 0.1,
- "costMax": 0.1,
- "duration": {
- "start": 0.1,
- "break": 0.1,
- "finish": 0.1
}, - "hasBreak": true,
- "canBookOnline": true,
- "doubleBooking": true,
- "bookScheduleBeforeMinutes": 0.1,
- "bookScheduleAfterMinutes": 0.1,
- "active": true,
- "order": 0.1,
- "categoryId": "string",
- "groupId": "string",
- "type": "SERVICE",
- "parentServiceId": "string",
- "backbar": {
- "colorValue": 0.1,
- "bleachValue": 0.1,
- "tonerValue": 0.1,
- "treatmentValue": 0.1
}, - "salonId": "string",
- "stylistSingleSalonId": "string",
- "templateId": "string",
- "templateName": "string"
}Retrieves all salon services If clientId is provided, applies client-specific pricing and duration from ClientSalonService records
| salonId required | string The salon ID to filter services |
| stylistSingleSalonId | string |
| clientId | string Optional client ID to apply client-specific pricing |
{- "categories": [
- {
- "id": "string",
- "name": "string",
- "order": 0.1,
- "active": true,
- "groupId": "string",
- "salonId": "string",
- "stylistSingleSalonId": "string",
- "templateId": "string",
- "services": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "cost": 0.1,
- "costMax": 0.1,
- "duration": {
- "start": 0.1,
- "break": 0.1,
- "finish": 0.1
}, - "hasBreak": true,
- "canBookOnline": true,
- "doubleBooking": true,
- "bookScheduleBeforeMinutes": 0.1,
- "bookScheduleAfterMinutes": 0.1,
- "active": true,
- "order": 0.1,
- "categoryId": "string",
- "groupId": "string",
- "type": "SERVICE",
- "parentServiceId": "string",
- "backbar": {
- "colorValue": 0.1,
- "bleachValue": 0.1,
- "tonerValue": 0.1,
- "treatmentValue": 0.1
}, - "salonId": "string",
- "stylistSingleSalonId": "string",
- "templateId": "string",
- "templateName": "string",
- "addons": [
- { }
]
}
]
}
], - "recommended": [
- {
- "id": "string",
- "name": "string",
- "order": 0.1,
- "active": true,
- "groupId": "string",
- "salonId": "string",
- "stylistSingleSalonId": "string",
- "templateId": "string",
- "services": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "cost": 0.1,
- "costMax": 0.1,
- "duration": {
- "start": 0.1,
- "break": 0.1,
- "finish": 0.1
}, - "hasBreak": true,
- "canBookOnline": true,
- "doubleBooking": true,
- "bookScheduleBeforeMinutes": 0.1,
- "bookScheduleAfterMinutes": 0.1,
- "active": true,
- "order": 0.1,
- "categoryId": "string",
- "groupId": "string",
- "type": "SERVICE",
- "parentServiceId": "string",
- "backbar": {
- "colorValue": 0.1,
- "bleachValue": 0.1,
- "tonerValue": 0.1,
- "treatmentValue": 0.1
}, - "salonId": "string",
- "stylistSingleSalonId": "string",
- "templateId": "string",
- "templateName": "string",
- "addons": [
- { }
]
}
]
}
]
}Retrieves service's data by given ID.
| id required | string Represents the given ID for a salon service. |
| user-id required | string |
{- "id": "string",
- "name": "string",
- "description": "string",
- "cost": 0.1,
- "costMax": 0.1,
- "duration": {
- "start": 0.1,
- "break": 0.1,
- "finish": 0.1
}, - "hasBreak": true,
- "canBookOnline": true,
- "doubleBooking": true,
- "bookScheduleBeforeMinutes": 0.1,
- "bookScheduleAfterMinutes": 0.1,
- "active": true,
- "order": 0.1,
- "categoryId": "string",
- "groupId": "string",
- "type": "SERVICE",
- "parentServiceId": "string",
- "backbar": {
- "colorValue": 0.1,
- "bleachValue": 0.1,
- "tonerValue": 0.1,
- "treatmentValue": 0.1
}, - "salonId": "string",
- "stylistSingleSalonId": "string",
- "templateId": "string",
- "templateName": "string",
- "addons": [
- { }
]
}Updates a salon service
| id required | string The ID of the salon service to update |
| user-id required | string |
The updated salon service data
| name required | string |
| description | string |
| cost required | number <double> |
| costMax | number <double> |
| smartPrice | boolean |
| smartPriceValue | number <double> |
| smartDuration | boolean |
required | object (DurationRequest) |
| hasBreak required | boolean |
| canBookOnline required | boolean |
| doubleBooking required | boolean |
| bookScheduleBefore | boolean |
| bookScheduleBeforeMinutes | number <double> |
| bookScheduleAfter | boolean |
| bookScheduleAfterMinutes | number <double> |
| type required | string (ServiceType) Enum: "SERVICE" "ADD_ON" |
object (BackbarRequest) | |
| categoryId required | string |
| parentServiceId | string |
| salonId required | string |
| stylistSingleSalonId | string |
{- "name": "string",
- "description": "string",
- "cost": 0.1,
- "costMax": 0.1,
- "smartPrice": true,
- "smartPriceValue": 0.1,
- "smartDuration": true,
- "duration": {
- "start": 0.1,
- "break": 0.1,
- "finish": 0.1
}, - "hasBreak": true,
- "canBookOnline": true,
- "doubleBooking": true,
- "bookScheduleBefore": true,
- "bookScheduleBeforeMinutes": 0.1,
- "bookScheduleAfter": true,
- "bookScheduleAfterMinutes": 0.1,
- "type": "SERVICE",
- "backbar": {
- "colorValue": 0.1,
- "bleachValue": 0.1,
- "tonerValue": 0.1,
- "treatmentValue": 0.1
}, - "categoryId": "string",
- "parentServiceId": "string",
- "salonId": "string",
- "stylistSingleSalonId": "string"
}{- "id": "string",
- "name": "string",
- "description": "string",
- "cost": 0.1,
- "costMax": 0.1,
- "duration": {
- "start": 0.1,
- "break": 0.1,
- "finish": 0.1
}, - "hasBreak": true,
- "canBookOnline": true,
- "doubleBooking": true,
- "bookScheduleBeforeMinutes": 0.1,
- "bookScheduleAfterMinutes": 0.1,
- "active": true,
- "order": 0.1,
- "categoryId": "string",
- "groupId": "string",
- "type": "SERVICE",
- "parentServiceId": "string",
- "backbar": {
- "colorValue": 0.1,
- "bleachValue": 0.1,
- "tonerValue": 0.1,
- "treatmentValue": 0.1
}, - "salonId": "string",
- "stylistSingleSalonId": "string",
- "templateId": "string",
- "templateName": "string"
}Retrieves all services for a stylist
| stylistSingleSalonId required | string The stylist ID to filter services |
| salonId required | string The salon ID to filter services |
| templateId required | string The template ID to filter services |
| clientId | string The client ID to filter services |
| user-id required | string |
{- "id": "string",
- "name": "string",
- "description": "string",
- "cost": 0.1,
- "costMax": 0.1,
- "duration": {
- "start": 0.1,
- "break": 0.1,
- "finish": 0.1
}, - "hasBreak": true,
- "canBookOnline": true,
- "doubleBooking": true,
- "bookScheduleBeforeMinutes": 0.1,
- "bookScheduleAfterMinutes": 0.1,
- "active": true,
- "order": 0.1,
- "categoryId": "string",
- "groupId": "string",
- "type": "SERVICE",
- "parentServiceId": "string",
- "backbar": {
- "colorValue": 0.1,
- "bleachValue": 0.1,
- "tonerValue": 0.1,
- "treatmentValue": 0.1
}, - "salonId": "string",
- "stylistSingleSalonId": "string",
- "templateId": "string",
- "templateName": "string",
- "addons": [
- { }
]
}Updates the order of a salon service
| id required | string The ID of the salon service to update |
| user-id required | string |
The updated salon service data
| parentServiceId | string or null |
| categoryId | string or null |
| newOrderIndex required | number <double> |
{- "parentServiceId": "string",
- "categoryId": "string",
- "newOrderIndex": 0.1
}"string"Attaches salon services to a salon
| user-id required | string |
The request body containing the salon ID and the service IDs to attach
| salonId required | string |
| stylistSingleSalonId | string |
| templateServiceIds required | Array of strings |
{- "salonId": "string",
- "stylistSingleSalonId": "string",
- "templateServiceIds": [
- "string"
]
}"string"Attaches salon services from a main salon to a stylist's single salon
| user-id required | string |
The request body containing the salon ID, stylist salon ID, and the service IDs to attach
| salonId required | string |
| stylistSingleSalonId | string |
| templateServiceIds required | Array of strings |
{- "salonId": "string",
- "stylistSingleSalonId": "string",
- "templateServiceIds": [
- "string"
]
}"string"Retrieves all salon services for a salon
| salonId required | string |
{- "categories": [
- {
- "id": "string",
- "name": "string",
- "order": 0.1,
- "active": true,
- "groupId": "string",
- "salonId": "string",
- "stylistSingleSalonId": "string",
- "templateId": "string",
- "services": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "cost": 0.1,
- "costMax": 0.1,
- "duration": {
- "start": 0.1,
- "break": 0.1,
- "finish": 0.1
}, - "hasBreak": true,
- "canBookOnline": true,
- "doubleBooking": true,
- "bookScheduleBeforeMinutes": 0.1,
- "bookScheduleAfterMinutes": 0.1,
- "active": true,
- "order": 0.1,
- "categoryId": "string",
- "groupId": "string",
- "type": "SERVICE",
- "parentServiceId": "string",
- "backbar": {
- "colorValue": 0.1,
- "bleachValue": 0.1,
- "tonerValue": 0.1,
- "treatmentValue": 0.1
}, - "salonId": "string",
- "stylistSingleSalonId": "string",
- "templateId": "string",
- "templateName": "string",
- "addons": [
- { }
]
}
]
}
], - "recommended": [
- {
- "id": "string",
- "name": "string",
- "order": 0.1,
- "active": true,
- "groupId": "string",
- "salonId": "string",
- "stylistSingleSalonId": "string",
- "templateId": "string",
- "services": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "cost": 0.1,
- "costMax": 0.1,
- "duration": {
- "start": 0.1,
- "break": 0.1,
- "finish": 0.1
}, - "hasBreak": true,
- "canBookOnline": true,
- "doubleBooking": true,
- "bookScheduleBeforeMinutes": 0.1,
- "bookScheduleAfterMinutes": 0.1,
- "active": true,
- "order": 0.1,
- "categoryId": "string",
- "groupId": "string",
- "type": "SERVICE",
- "parentServiceId": "string",
- "backbar": {
- "colorValue": 0.1,
- "bleachValue": 0.1,
- "tonerValue": 0.1,
- "treatmentValue": 0.1
}, - "salonId": "string",
- "stylistSingleSalonId": "string",
- "templateId": "string",
- "templateName": "string",
- "addons": [
- { }
]
}
]
}
]
}Creates a new template category
| user-id required | string |
Represents the template category data that is being created.
| name required | string |
| hex required | string |
| groupId required | string |
{- "name": "string",
- "hex": "string",
- "groupId": "string"
}{- "id": "string",
- "name": "string",
- "order": 0.1,
- "groupId": "string",
- "deleted": true
}Retrieves template category's data by given ID.
| userId required | string |
| user-id required | string |
{- "id": "string",
- "name": "string",
- "order": 0.1,
- "groupId": "string",
- "deleted": true
}Updates a template category
| templateCategoryId required | string The ID of the template category to update |
| user-id required | string |
The request body containing the updated template category data
| name required | string |
| hex required | string |
| groupId required | string |
{- "name": "string",
- "hex": "string",
- "groupId": "string"
}{- "id": "string",
- "name": "string",
- "order": 0.1,
- "groupId": "string",
- "deleted": true
}Updates the order of a template category
| templateCategoryId required | string The ID of the template category to update |
| user-id required | string |
The request body containing the updated template category data
| newOrderIndex required | number <double> |
{- "newOrderIndex": 0.1
}"string"Creates a new group service
| user-id required | string |
Represents the template service data that is being created.
| name required | string |
{- "name": "string"
}{- "id": "string",
- "name": "string",
- "active": true,
- "order": 0.1
}Retrieves service's data by given ID.
| id required | string Represents the given ID for a service group. |
| user-id required | string |
{- "id": "string",
- "name": "string",
- "active": true,
- "order": 0.1
}Updates a template group
| id required | string Represents the given ID for a template group. |
| user-id required | string |
Represents the template group data that is being updated.
| name required | string |
{- "name": "string"
}{- "id": "string",
- "name": "string",
- "active": true,
- "order": 0.1
}Creates a new template service
| user-id required | string |
Represents the template service data that is being created.
| name required | string |
| description | string |
| cost required | number <double> |
| costMax | number <double> |
| smartPrice | boolean |
| smartPriceValue | number <double> |
| smartDuration | boolean |
required | object (DurationRequest) |
| hasBreak required | boolean |
| canBookOnline required | boolean |
| doubleBooking required | boolean |
| bookScheduleBefore | boolean |
| bookScheduleBeforeMinutes | number <double> |
| bookScheduleAfter | boolean |
| bookScheduleAfterMinutes | number <double> |
| type required | string (ServiceType) Enum: "SERVICE" "ADD_ON" |
object (BackbarRequest) | |
| categoryId required | string |
| parentServiceId | string |
{- "name": "string",
- "description": "string",
- "cost": 0.1,
- "costMax": 0.1,
- "smartPrice": true,
- "smartPriceValue": 0.1,
- "smartDuration": true,
- "duration": {
- "start": 0.1,
- "break": 0.1,
- "finish": 0.1
}, - "hasBreak": true,
- "canBookOnline": true,
- "doubleBooking": true,
- "bookScheduleBefore": true,
- "bookScheduleBeforeMinutes": 0.1,
- "bookScheduleAfter": true,
- "bookScheduleAfterMinutes": 0.1,
- "type": "SERVICE",
- "backbar": {
- "colorValue": 0.1,
- "bleachValue": 0.1,
- "tonerValue": 0.1,
- "treatmentValue": 0.1
}, - "categoryId": "string",
- "parentServiceId": "string"
}{- "id": "string",
- "name": "string",
- "description": "string",
- "cost": 0.1,
- "costMax": 0.1,
- "duration": {
- "start": 0.1,
- "break": 0.1,
- "finish": 0.1
}, - "hasBreak": true,
- "canBookOnline": true,
- "doubleBooking": true,
- "bookScheduleBeforeMinutes": 0.1,
- "bookScheduleAfterMinutes": 0.1,
- "active": true,
- "order": 0.1,
- "categoryId": "string",
- "groupId": "string",
- "type": "SERVICE",
- "parentServiceId": "string",
- "backbar": {
- "colorValue": 0.1,
- "bleachValue": 0.1,
- "tonerValue": 0.1,
- "treatmentValue": 0.1
}
}| groupIds | Array of strings Optional array of group IDs to filter template services by |
{- "categories": [
- {
- "id": "string",
- "name": "string",
- "order": 0.1,
- "groupId": "string",
- "deleted": true,
- "services": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "cost": 0.1,
- "costMax": 0.1,
- "duration": {
- "start": 0.1,
- "break": 0.1,
- "finish": 0.1
}, - "hasBreak": true,
- "canBookOnline": true,
- "doubleBooking": true,
- "bookScheduleBeforeMinutes": 0.1,
- "bookScheduleAfterMinutes": 0.1,
- "active": true,
- "order": 0.1,
- "categoryId": "string",
- "groupId": "string",
- "type": "SERVICE",
- "parentServiceId": "string",
- "backbar": {
- "colorValue": 0.1,
- "bleachValue": 0.1,
- "tonerValue": 0.1,
- "treatmentValue": 0.1
}, - "addons": [
- { }
]
}
]
}
]
}Retrieves service's data by given ID.
| id required | string Represents the given ID for a template service. |
| user-id required | string |
{- "id": "string",
- "name": "string",
- "description": "string",
- "cost": 0.1,
- "costMax": 0.1,
- "duration": {
- "start": 0.1,
- "break": 0.1,
- "finish": 0.1
}, - "hasBreak": true,
- "canBookOnline": true,
- "doubleBooking": true,
- "bookScheduleBeforeMinutes": 0.1,
- "bookScheduleAfterMinutes": 0.1,
- "active": true,
- "order": 0.1,
- "categoryId": "string",
- "groupId": "string",
- "type": "SERVICE",
- "parentServiceId": "string",
- "backbar": {
- "colorValue": 0.1,
- "bleachValue": 0.1,
- "tonerValue": 0.1,
- "treatmentValue": 0.1
}
}Updates a template service
| id required | string The ID of the template service to update |
| user-id required | string |
The updated template service data
| name required | string |
| description | string |
| cost required | number <double> |
| costMax | number <double> |
| smartPrice | boolean |
| smartPriceValue | number <double> |
| smartDuration | boolean |
required | object (DurationRequest) |
| hasBreak required | boolean |
| canBookOnline required | boolean |
| doubleBooking required | boolean |
| bookScheduleBefore | boolean |
| bookScheduleBeforeMinutes | number <double> |
| bookScheduleAfter | boolean |
| bookScheduleAfterMinutes | number <double> |
| type required | string (ServiceType) Enum: "SERVICE" "ADD_ON" |
object (BackbarRequest) | |
| categoryId required | string |
| parentServiceId | string |
{- "name": "string",
- "description": "string",
- "cost": 0.1,
- "costMax": 0.1,
- "smartPrice": true,
- "smartPriceValue": 0.1,
- "smartDuration": true,
- "duration": {
- "start": 0.1,
- "break": 0.1,
- "finish": 0.1
}, - "hasBreak": true,
- "canBookOnline": true,
- "doubleBooking": true,
- "bookScheduleBefore": true,
- "bookScheduleBeforeMinutes": 0.1,
- "bookScheduleAfter": true,
- "bookScheduleAfterMinutes": 0.1,
- "type": "SERVICE",
- "backbar": {
- "colorValue": 0.1,
- "bleachValue": 0.1,
- "tonerValue": 0.1,
- "treatmentValue": 0.1
}, - "categoryId": "string",
- "parentServiceId": "string"
}{- "id": "string",
- "name": "string",
- "description": "string",
- "cost": 0.1,
- "costMax": 0.1,
- "duration": {
- "start": 0.1,
- "break": 0.1,
- "finish": 0.1
}, - "hasBreak": true,
- "canBookOnline": true,
- "doubleBooking": true,
- "bookScheduleBeforeMinutes": 0.1,
- "bookScheduleAfterMinutes": 0.1,
- "active": true,
- "order": 0.1,
- "categoryId": "string",
- "groupId": "string",
- "type": "SERVICE",
- "parentServiceId": "string",
- "backbar": {
- "colorValue": 0.1,
- "bleachValue": 0.1,
- "tonerValue": 0.1,
- "treatmentValue": 0.1
}
}Updates the order of a template service
| id required | string The ID of the template service to update |
| user-id required | string |
The updated template service data
| parentServiceId | string or null |
| categoryId | string or null |
| newOrderIndex required | number <double> |
{- "parentServiceId": "string",
- "categoryId": "string",
- "newOrderIndex": 0.1
}"string"