listBookings method

Future<BookingsResponse> listBookings({
  1. required ListBookingsRequest request,
  2. String? authToken,
})

Retrieve a collection of bookings.

To call this endpoint with buyer-level permissions, set APPOINTMENTS_READ for the OAuth scope. To call this endpoint with seller-level permissions, set APPOINTMENTS_ALL_READ and APPOINTMENTS_READ for the OAuth scope.

Implementation

Future<BookingsResponse> listBookings({
  required ListBookingsRequest request,
  String? authToken,
}) async {
  return _bookingsService.listBookings(request: request, authToken: authToken);
}