listBookmarks( )


Retrieves a list of bookmarked schedule items for a currently logged-in member.

Method Declaration
Copy
function listBookmarks(eventId: string): Promise<ListBookmarksResponse>;
Method Parameters
eventIdstringRequired

Event ID to which the schedule belongs.

Returns
Return Type:Promise<ListBookmarksResponse>
JavaScript
import { scheduleBookmarks } from "wix-events.v2"; async function listBookmarks(eventId) { try { const result = await scheduleBookmarks.listBookmarks(eventId); return result; } catch (error) { console.error(error); // Handle the error } }
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?