onContactDeleted( )

Note: This method registers a callback function as an event handler. Subscribe your app to the relevant event via the Webhooks page in the Wix Dev Center to enable it. For more information, see Handle Events With Webhooks.

Triggered when a contact is deleted.

If a contact is deleted as part of a merge, the originatedFrom property is sent as merge. Otherwise, originatedFrom is omitted.

Permissions
Manage Members and Contacts - all permissions
Read Members and Contacts - all read permissions
Manage Contacts
Read Contacts
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
handlerfunction

handler(event: ContactDeletedEnvelope): void | Promise<void>

Was this helpful?
Yes
No