Decline booking

Release the slot and notify the customer

POST/v1/operator/schedule/{bookingId}/decline

Headers

Path parameters

  • bookingIdstringRequired

    Booking id as returned by create_booking (prefix bkg_).

Body

  • notestring (up to 500 characters)

    Short note shown to the customer, e.g. why a request was declined.

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