deleteReferringCustomer( )


Developer Preview

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.

Method Declaration
Copy
function deleteReferringCustomer(
  referringCustomerId: string,
  options: DeleteReferringCustomerOptions,
): Promise<void>;
Method Parameters
referringCustomerIdstringRequired

ID of the referring customer to delete.


optionsDeleteReferringCustomerOptions
JavaScript
import { customers } from "@wix/referral"; async function deleteReferringCustomer(referringCustomerId, options) { const response = await customers.deleteReferringCustomer( referringCustomerId, options, ); }
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?