List a service's working days
Returns the weekdays the service has at least one availability window on, so a date picker can grey out the rest. A service from another company returns 404.
Returns the weekdays the service has at least one availability window on, so a date picker can grey out the rest. A service from another company returns 404.
Authorization
x-api-key Company API key, created under Settings > API Keys.
In: header
Path Parameters
The service to check.
Header Parameters
Optional with an API key or OAuth token: leave it out and the company the key or token belongs to is used. If sent, it must be that same company, otherwise the request is refused with 403 API_KEY_WRONG_COMPANY or OAUTH_WRONG_COMPANY.
^[0-9a-fA-F]{24}$Response Body
application/json
curl -X GET "https://example.com/bookings/services/string/working-days"[ "string"]List booking services GET
Returns the company's active booking services with their form fields and weekly availability windows, along with the lead time and the days the company has closed. This is the first call when rendering a booking flow of your own; follow it with the availability endpoint for the day the client picks.
Reschedule a booking PATCH
Moves the booking to another availability window and day. The assigned user and the client are told of the new time, and the assigned user's calendar events follow. A cancelled booking cannot be moved. An unknown booking returns 404.