Retrieves a list of up to 100 schedule items
function listScheduleItems(
options: ListScheduleItemsOptions,
): Promise<ListScheduleItemsResponse>;
Optional fields.
import { schedule } from "wix-events.v2";
async function listScheduleItems(options) {
try {
const result = await schedule.listScheduleItems(options);
return result;
} catch (error) {
console.error(error);
// Handle the error
}
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.