Business

Cancel a booking (the customer is emailed)

post/business/bookings/{bookingId}/cancel

Request

  • Base URL: https://hostingsurge.com/api/v1
  • URL: https://hostingsurge.com/api/v1/business/bookings/{bookingId}/cancel
  • Auth: one of:
    • HTTP bearer
    • API key in cookie __Host-hs_session

Path parameters

bookingIdstring uuid required

Response

Cancelled

idstring uuid required
serviceIdstring uuid required
serviceNamestring required
startsAtstring required

ISO-8601 timestamp

endsAtstring required

ISO-8601 timestamp

namestring required
emailstring required
phonestring nullable required
notesstring nullable required
timezonestring required
status'confirmed' | 'cancelled' required
cancelledBy'customer' | 'owner' | 'null' nullable required
createdAtstring required

ISO-8601 timestamp

cancelledAtstring nullable required

ISO-8601 timestamp

Changes

No recorded changes to this operation across all 1 revision of this API.