Updates a schedule item in a draft schedule.
function updateScheduleItem(
itemId: string,
eventId: string,
options: UpdateScheduleItemOptions,
): Promise<UpdateScheduleItemResponse>;
Schedule item ID.
Event ID to which the schedule belongs.
Optional fields.
import { schedule } from "@wix/events";
async function updateScheduleItem(itemId, eventId, options) {
const response = await schedule.updateScheduleItem(itemId, eventId, options);
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.