Partner API
Reservations

Cancel reservation

Cancel an existing reservation with optional refund

put/{partnerId}/classes/{classId}/reservations/{reservationId}

Request

  • Base URL: https://us-central1-sutra-prod.cloudfunctions.net/partnerApi/v0
  • URL: https://us-central1-sutra-prod.cloudfunctions.net/partnerApi/v0/{partnerId}/classes/{classId}/reservations/{reservationId}
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Path parameters

partnerIdstring required
Example:partner123

Partner identifier

classIdstring required
Example:class123

Class identifier

reservationIdstring required
Example:reservation123

Reservation identifier

Request body

isLateCancelboolean

Whether this is a late cancellation

issueRefundboolean

Whether to issue a refund

Response

Reservation canceled successfully

Example response

{
  "item": {
    "success": true
  }
}

Changes

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