This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Deletes a referring customer by ID.
You must provide the latest revision
to prevent conflicting changes.
function deleteReferringCustomer(
referringCustomerId: string,
options: DeleteReferringCustomerOptions,
): Promise<void>;
ID of the referring customer to delete.
import { customers } from "@wix/referral";
async function deleteReferringCustomer(referringCustomerId, options) {
const response = await customers.deleteReferringCustomer(
referringCustomerId,
options,
);
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.