Bookmarks a schedule item for a currently logged-in member.
function createBookmark(itemId: string, eventId: string): Promise<void>;
Schedule item ID.
Event ID to which the schedule belongs.
import { scheduleBookmarks } from "@wix/events";
async function createBookmark(itemId, eventId) {
const response = await scheduleBookmarks.createBookmark(itemId, eventId);
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.