Changes the sending time for an already scheduled campaign.
function reschedule(campaignId: string, sendAt: Date): Promise<void>;
ID of the campaign to reschedule.
New time for sending out the campaign.
import { campaigns } from "@wix/email-marketing";
async function reschedule(campaignId, sendAt) {
const response = await campaigns.reschedule(campaignId, sendAt);
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.