This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Removes the overrideCheckoutUrl
from a specified checkout.
When overrideCheckoutUrl
is removed, the checkoutUrl
will be set to the default, standard
Wix checkout page URL.
function removeOverrideCheckoutUrl(
_id: string,
): Promise<RemoveOverrideCheckoutUrlResponse>;
ID of the checkout to remove the override checkout url from.
import { checkout } from "@wix/ecom";
async function removeOverrideCheckoutUrl(id) {
const response = await checkout.removeOverrideCheckoutUrl(id);
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.