get https://api.zenoti.com/v1/Centers//services/
This API helps you to retrieve the details of a specific service at the required center.
You must specify in the API request the unique identifier of the location (center) as center_id
and the unique identifier of the service as service_id
. The API then retrieves the details of the service.
You can also use the expand
parameter in the API request to specify details for the additional_info
, catalog_info
, variants_info
, add_ons_info
, and image_paths
parameters.
Response Details
Name | Type | Description |
---|---|---|
id | guid | Unique 32-character identifier of the service. |
code | string | Code to identify the service. |
name | string | Name of the service. |
description | string | Description about the service. |
duration | int | Length of the service in minutes. |
recovery_time | int | Recovery time after the service. |
price_info | object | Object that contains all the price-related details for the service. |
additional_info | object | Object that contains all the additional information about the service. |
catalog_info | object | Object that contains all the catalog-related information about the service. |
variants_info | object | Object that contains all the details whether the service has a variant. |
add_ons_info | object | Object that contains all the add-ons related information of the service. |
image_paths string | Contains the 800 pixel image URL of the service. | |
parallel_service_groups | object | Object that contains the id of the parallel service group. |
error | object | Object that contains error message and error code details. For more information, refer to the error Object table. |
parallel_groups | array | Array of parallel group IDs. Empty when feature disabled or none exist. |
tags | array | Returned only when expand=tags. List of tag strings. |
is_couple_service | boolean | Indicates whether the service can be booked for couples. |
prerequisites_info | object | Details of prerequisite services, if configured. |
finishing_services_info | object | Details of finishing services, if configured. |
error Object
code | message |
---|---|
401 | Authorization has been denied for this request. |
502 | Invalid center_id is passed. |
502 | Service not found. |
Service Info
Json property | Data type | Description |
---|---|---|
tags | string[] | Returns service tags only when expand contains "tags" . Values are parsed from a # -separated string, trimmed, and empties removed. If no tags exist, an empty array is returned. If expand omits "tags" , the property is not included due to NullValueHandling.Ignore . |