User Guide of Magento 2 Delete Customer Account Extension
General Configurations
At the backend, go to FME EXTENSIONS > Configurations. Here you can find the extension configurations.
- Enable: Select ‘Yes’ to enable the extension
- Sender Name: Write your email sender name
- Email Sender: Select an email sender
- Email Template: Select an email template
Account Deletion Requests
This section allows you to view and manage all the account deletion requests. To encrypt or delete an account, click on the arrow next to ‘Select’ in the ‘Action’ column.
- Encrypt: Encrypting an account prevents the customer from using it. Even though the account remains in the database, the customer can’t login with the email address he/she used while registering. This is because the extension appends a string of characters at the end of the email address.
- Delete: Deleting an account completely removes the account with the associated data from the database.
Deleted Accounts Record
This section allows you to view all the accounts you have deleted or encrypted. The ‘Status’ column tells you whether the account has been deleted or encrypted. The 'Action' column enables you to decrypt an encrypted account, restoring the email address to its original state and allowing the customer to use it.
GraphQL APIs
Delete Customer Request
Mutation
mutation {
deleteCustomerRequest {
success
message
}
}
Response
{
"data": {
"deleteCustomerRequest": {
"success": true,
"message": "Your request has been submitted to the admin. You will
get an email soon."
}
}
}