Resumes a paused order. For orders with recurring payments, it also restarts the payment schedule.
Resuming an order causes the following changes:
"ACTIVE"
.pausePeriods
array is updated.endDate
for the order is adjusted to include the pause period.earliestEndDate
is adjusted to include the pause period. (This property is reserved for future use).To pause an order, call Pause Order.
function resumeOrder(_id: string): Promise<void>;
Order ID.
import { orders } from "@wix/pricing-plans";
async function resumeOrder(id) {
const response = await orders.resumeOrder(id);
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.