v1

latestOpenAPI 3.0.12026-07-13139143370.4 KB
Services

Update Weekly Availability

Use this endpoint to Update service weekly availability. A valid service id is required. The availability day entries are created when a service object is created.

To update weekly availability hours, all days of the week must be provided. Days are defined as sun, mon, tue, wed, thu, fri and sat. The startTime and endTime fields are entered in military format. e.g., 800 is 8:00am, 2230 is 10:30pm. We support 24-hour availability, set startTime=0 and endTime=2400. To set a whole day as unavailable, set both the startTime and endTime to 0.

If you require times in between specified hours to be unavailable, use the resource blocks endpoints. Times entered represent the timezone of the business location.

put/setup/v1/services/{id}/availability

Path parameters

idstring required

id of service object

Request body

Response

Success

serviceIdinteger
serviceNamestring nullable
ignoreBusinessHoursboolean