This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Retrieves a schedule time frame by schedule ID.
function getScheduleTimeFrame(
_id: string,
options: GetScheduleTimeFrameOptions,
): Promise<ScheduleTimeFrame>;
Schedule ID for which to retrieve the schedule time frame.
import { scheduleTimeFrames } from "@wix/calendar";
async function getScheduleTimeFrame(id, options) {
const response = await scheduleTimeFrames.getScheduleTimeFrame(id, options);
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.