get
https://api.zenoti.com/v1/Centers//services
This API helps you to retrieve all the services that are active in a center.
You must specify the appropriate details for the center_id paramter in the API request.
You can also use the expand parameter in the API request to specify details for the additional_info, catalog_info, category_id, variants_info, add_ons_info, and image_paths parameters. The category_id parameter enables you to filter services according to their respective category or sub-category.
In addition, you can leverage the pagination feature by passing page and size query parameters if you have a large number of records. By default, page is set as 1 and size is set as 10. Size cannot be more than 100: which means that the maximum records per page cannot be more than 100.
Response Details
| Name | Type | Description |
|---|---|---|
| id | guid | Unique 32-character identifier of the service. |
| code | string | Code name of the service. |
| name | string | Name of the service. |
| description | string | Description of the service. |
| duration | int | Ideal duration (in minutes) of the service. |
| recovery_time | int | Recovery time (in minutes) required after the service has been completed. |
| price_info | object | Object that contains price information-related elements of the service. For more information, refer to the price_info Object table. |
| additional_info | object | Object that contains additional details about the service. For more information, refer to the additional_info Object table. |
| catalog_info | object | Object that contains catalog information-related elements of the service. For more information, refer to the catalog_info Object table. |
| variants_info | object | Object that contains variants information-related elements of the service. For more information, refer to the variants_info Object table. |
| add_ons_info | object | Object that contains add-ons information-related elements of the service. For more information, refer to the add_ons_info Object table. |
| image_paths | string? | Navigation path of the image used to illustrate the service. |
| parallel_service_groups | object | Object that contains the id of the parallel service group. |
| prerequisites_info | object | Object contains the prerequisite services that are available in the center. |
| finishing_services_info | object | Object that contains information about the finishing services of the center. |
| error | object | Object that contains error message and error code details. For more information, refer to the error Object table. |
| tags | string | Returned only when expand includes tags. Array of associated tags. |
price_info object
| Json property | Data type | Description |
|---|---|---|
| currency_id | integer | Identifier for the currency used for the service price. |
| sale_price | number | The listed sale price of the service. |
| tax_id | string | Identifier of the tax applied to the service. |
| ssg | number | Service SSG value if applicable. |
| include_tax | boolean | Indicates whether the sale price includes tax. |
| demand_group_id | string | Identifier of the demand group for pricing logic. |
| tax | number | Total tax applied to the service. |
| price_without_tax | number | Price before tax calculations. |
| final_price | number | Final computed price after tax and demand group adjustments. |
additional_info object
| Json property | Data type | Description |
|---|---|---|
| info_id | string | Unique identifier for the additional information record. |
| info_type | string | Type of information (for example, “promotion” or “custom field”). |
| details | string | Additional details or notes about the service. |
catalog_info object
| Json property | Data type | Description |
|---|---|---|
| catalog_id | string | Unique identifier of the catalog the service belongs to. |
| catalog_name | string | Display name of the catalog. |
| category_id | string | Identifier of the category under the catalog. |
| category_name | string | Display name of the service category. |
variants_info object
| Json property | Data type | Description |
|---|---|---|
| variant_id | string | Unique identifier for the service variant. |
| variant_name | string | Name or label of the service variant (for example, “60 min Massage”). |
| price_difference | number | Price variation compared to the base service. |
add_ons_info object
| Json property | Data type | Description |
|---|---|---|
| add_on_id | string | Unique identifier of the add-on. |
| add_on_name | string | Name of the add-on item or service. |
| add_on_price | number | Additional price applied when this add-on is selected. |
| is_mandatory | boolean | Indicates if the add-on is mandatory for the service. |
parallel_service_groups object
| Json property | Data type | Description |
|---|---|---|
| group_id | integer | Unique identifier of the parallel service group. |
| group_name | string | Name of the parallel service group. |
| group_type | string | Type of parallel group (for example, “linked” or “independent”). |
prerequisites_info object
| Json property | Data type | Description |
|---|---|---|
| prerequisite_id | string | Unique identifier of the prerequisite service. |
| prerequisite_name | string | Name of the service that must be completed before this one. |
| required_before_minutes | integer | Minimum time (in minutes) required before scheduling this service. |
finishing_services_info object
| Json property | Data type | Description |
|---|---|---|
| finishing_service_id | string | Identifier of the finishing service. |
| finishing_service_name | string | Display name of the finishing service. |
| delay_after_minutes | integer | Minimum delay time (in minutes) before starting the finishing service. |
error object
| Json property | Data type | Description |
|---|---|---|
| code | integer | Numeric code representing the type of error. |
| message | string | Human-readable description of the error. |
| details | string | Additional details about the error cause or context. |
| trace_id | string | Unique request identifier for debugging. |
| error_type | string | Type or category of error, such as “ValidationError” or “NotFoundError.” |
