Cancel scheduled booking
Cancel a confirmed booking
POST
/v1/ operator/ schedule/ {bookingId}/ cancelHeaders
AuthorizationBearer tokenRequiredYour operator key. Authentication
Path parameters
bookingIdstringRequiredBooking id as returned by create_booking (prefix bkg_).
Body
reasonstring (up to 280 characters)Why it is canceled, in words the customer will read.
Responses
- 200
A booking: its status, time, price, the customer's consent record and what to do next.
Booking - 403
The key is valid but may not do this.
Forbidden - 404
No such id, or it is not visible to this key.
NotFound - 409
The booking is not in a state that allows this.
InvalidState