setAttendance( )


Sets the number of people who actually attended the session for the given booking.

The setAttendance() function returns a Promise that resolves when attendance information has been updated.

The number of attendees can be greater than 1 when the booking is made for a group of people. Set the attended boolean to true if the customer making the booking or anyone from their group attended.

Notes:

  • There is no validation on the number of attendees or on the relationship between numberOfAttendees and attended.
  • Only users with Bookings Admin permissions can set the attendance for a booking. You can override the permissions by setting the suppressAuth options to true.
Method Declaration
Copy
Method Parameters
bookingIdstringRequired

ID of the Booking to be updated.


attendanceInfoAttendanceInfoRequired

Attendance information for the booking


optionsOptions

An object representing the available options for setting attendance.

Returns
Return Type:Promise<Booking>
Was this helpful?
Yes
No