API ReferenceAPI Appsv1
02C - Cancelled Class Booking (Instant) - Mindbody → Zapier
This event triggers when a class booking is **cancelled** in Mindbody
This event triggers when a class booking is cancelled in Mindbody. The payload provides information about the class session, client details, and location data, ensuring that cancellations are instantly reflected in Zapier-powered workflows.
Payload Structure
Root Object
- eventId (string) – Identifies the event type (classRosterBooking.cancelled).
- eventInstanceOriginationDateTime (string, ISO 8601) – Timestamp when the cancellation occurred.
- eventSchemaVersion (integer) – Version of the event schema.
- messageId (string) – Unique identifier for the message.
Class Booking Details
- classRosterBookingId (integer) – Unique identifier for the class booking.
- classId (integer) – ID of the cancelled class.
- className (string) – Name of the cancelled class.
- classCategory (string) – Category of the class.
- classSubcategory (string) – Subcategory of the class.
- classProgramId (integer) – ID of the class program.
- classProgramName (string) – Name of the class program.
- classSessionTypeId (integer) – ID of the session type.
- classSessionTypeName (string) – Name of the session type.
- classSessionTypeNumDeducted (integer) – Number of sessions deducted due to cancellation.
- classStartDateTime (string, ISO 8601) – Start date and time of the class.
- classEndDateTime (string, ISO 8601) – End date and time of the class.
- classMaxCapacity (integer) – Maximum capacity of the class.
Client Details
- clientId (integer) – Internal Mindbody client ID.
- clientUniqueId (integer) – Unique identifier for the client.
- clientFirstName (string) – Client’s first name.
- clientLastName (string) – Client’s last name.
- clientEmail (string) – Client’s email address.
- clientPhone (string) – Client’s phone number.
- clientBirthDate (string, ISO 8601) – Client’s date of birth.
- clientGender (string) – Client’s gender (Male, Female, etc.).
- clientStatus (string) – Client’s status (Non-Member, Member, etc.).
- clientAccountBalance (float) – Client’s current account balance.
- clientNotes (string or null) – Any notes associated with the client.
- clientHomeLocationId (integer or null) – ID of the client’s home location.
- clientHomeLocationName (string) – Name of the client’s home location.
Client Sales Representative (If Applicable)
- clientSalesRepFirstName (string or null) – First name of the assigned sales representative.
- clientSalesRepLastName (string or null) – Last name of the assigned sales representative.
- clientSalesRepId (integer or null) – ID of the assigned sales representative.
Instructor Details
- classInstructorFirstName (string) – Instructor’s first name.
- classInstructorLastName (string) – Instructor’s last name.
- classInstructorEmail (string) – Instructor’s email address.
- classInstructorPhone (string) – Instructor’s phone number.
Location Details
- locationId (integer) – ID of the location where the class was scheduled.
- locationName (string) – Name of the location.
- locationAddress (string) – Address of the location.
- locationCity (string) – City where the class was scheduled.
- locationState (string) – State or region.
- locationPostalCode (string) – Zip or postal code.
- locationPhone (string) – Location contact phone number.
- locationLatitude (float) – Latitude of the location.
- locationLongitude (float) – Longitude of the location.
Summary
This event ensures that cancelled class bookings in Mindbody are instantly updated in Zapier-powered workflows, preventing scheduling conflicts and ensuring accurate records for clients and staff.
v1.4 Field Reference
Version: 1.4 | Status: Fixed | Total fields: 54
What's New in v1.4
- Class Enrichment (5 fields): className, classCategory, classSubcategory, classProgramName, classSessionTypeName
- Client Enrichment (20 fields): clientBirthDate, clientGender, clientRedAlert, clientStatus, clientMobilePhone, clientAddressLine1, clientCity, clientState, clientPostalCode, clientCountry, clientAccountBalance, clientHomeLocationId, homeStudioName, clientSalesRepFirstName, clientSalesRepLastName, clientSalesRepId, clientNotes, clientYellowAlert, clientFirstClassDate, clientWorkExtension
- Location (1 field): locationName
- Next Visit (6 fields): nextClassName, nextClassStartDateTime, nextClassId, nextAppointmentName, nextAppointmentStartDateTime, nextAppointmentId
- Client-prefixed naming convention
- Metadata from trigger
Complete Field List
| Field | Status | Description |
|---|---|---|
| siteId | Unchanged | |
| classStartDateTime | Unchanged | |
| classEndDateTime | Unchanged | |
| classId | Unchanged | |
| classRosterBookingId | Unchanged | |
| bookingOriginatedFromWaitlist | Unchanged | |
| clientId | Unchanged | |
| clientUniqueId | Unchanged | |
| clientEmail | Unchanged | |
| clientFirstName | Unchanged | |
| clientLastName | Unchanged | |
| clientPhone | Unchanged | |
| clientPassActivationDateTime | Unchanged | |
| clientPassExpirationDateTime | Unchanged | |
| clientPassId | Unchanged | |
| clientPassSessionsDeducted | Unchanged | |
| clientPassSessionsRemaining | Unchanged | |
| clientPassSessionsTotal | Unchanged | |
| clientsNumberOfVisitsAtSite | Unchanged | |
| staffId | Unchanged | |
| staffName | Unchanged | |
| locationId | Unchanged | |
| signedInStatus | Unchanged | |
| maxCapacity | Unchanged | |
| totalBooked | Unchanged | |
| totalWaitlisted | Unchanged | |
| webBooked | Unchanged | |
| webCapacity | Unchanged | |
| className | ✅ New | Added in v1.4 class enrichment |
| classCategory | ✅ New | Added in v1.4 class enrichment |
| classSubcategory | ✅ New | Added in v1.4 class enrichment |
| classProgramName | ✅ New | Added in v1.4 class enrichment |
| classSessionTypeName | ✅ New | Added in v1.4 class enrichment |
| clientBirthDate | ✅ New | Added in v1.4 client enrichment |
| clientGender | ✅ New | Added in v1.4 client enrichment |
| clientRedAlert | ✅ New | Added in v1.4 client enrichment |
| clientStatus | ✅ New | Added in v1.4 client enrichment |
| clientMobilePhone | ✅ New | Added in v1.4 client enrichment |
| clientAddressLine1 | ✅ New | Added in v1.4 client enrichment |
| clientCity | ✅ New | Added in v1.4 client enrichment |
| clientState | ✅ New | Added in v1.4 client enrichment |
| clientPostalCode | ✅ New | Added in v1.4 client enrichment |
| clientCountry | ✅ New | Added in v1.4 client enrichment |
| clientAccountBalance | ✅ New | Added in v1.4 client enrichment |
| clientHomeLocationId | ✅ New | Added in v1.4 client enrichment |
| homeStudioName | ✅ New | Added in v1.4 client enrichment |
| clientSalesRepFirstName | ✅ New | Added in v1.4 client enrichment |
| clientSalesRepLastName | ✅ New | Added in v1.4 client enrichment |
| clientSalesRepId | ✅ New | Added in v1.4 client enrichment |
| clientNotes | ✅ New | Added in v1.4 client enrichment |
| clientYellowAlert | ✅ New | Added in v1.4 client enrichment |
| clientFirstClassDate | ✅ New | Added in v1.4 client enrichment |
| clientWorkExtension | ✅ New | Added in v1.4 client enrichment |
| locationName | ✅ New | Added in v1.4 location enrichment |
| nextClassName | ✅ New | Added in v1.4 next visit enrichment |
| nextClassStartDateTime | ✅ New | Added in v1.4 next visit enrichment |
| nextClassId | ✅ New | Added in v1.4 next visit enrichment |
| nextAppointmentName | ✅ New | Added in v1.4 next visit enrichment |
| nextAppointmentStartDateTime | ✅ New | Added in v1.4 next visit enrichment |
| nextAppointmentId | ✅ New | Added in v1.4 next visit enrichment |
Related docs
Last updated April 8, 2026