The Service
object represents the business offering that a business provides to its customers.
Service ID.
Service type.
Order of a service within a category.
Default maximum number of customers that can book the service. The service cannot be booked beyond this capacity.
Media associated with the service.
Whether the service is hidden from the site.
The category the service is associated with.
The form used when booking the service.
Payment options for booking the service.
Online booking settings.
Conferencing options for this service.
The locations this service is offered at.
In case of multiple (more than 1) location, All locations must be of type BUSINESS
.
For courses only: Currently, only 1 location is supported, for all location types.
Policy determining under what conditions this service can be booked. For example, whether the service can only be booked up to 30 minutes before it begins.
The service's schedule, which can be used to manage the service's sessions.
IDs of the staff members providing the service. For appointments only.
A slug is the last part of the URL address that serves as a unique identifier of the service. The list of supported slugs includes past service names for backwards compatibility, and a custom slug if one was set by the business owner.
The main slug for the service. mainSlug
is either taken from the current service name or is a custom slug set by the business owner.
mainSlug
is used to construct the service's URLs.
URLs to various service-related pages, such as the calendar page and the booking page.
Extensions enabling users to save custom data related to the service.
Custom SEO data for the service.
Date and time the service was created.
Date and time the service was updated.
Revision number, which increments by 1 each time the service is updated. To prevent conflicting changes, the existing revision must be used when updating a service.