# Deduplicate customer accounts on e-mailaddress/customer number

**URL:** <https://forum.shopware.com/t/deduplicate-customer-accounts-on-e-mailaddress-customer-number/106231>\
**Category:** General Questions (EN)\
**Created:** [8. Januar 2025 um 15:52 UTC](https://forum.shopware.com/t/deduplicate-customer-accounts-on-e-mailaddress-customer-number/106231 "2025-01-08T15:52:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![RvdV](https://avatars.discourse-cdn.com/v4/letter/r/dc4da7/32.png) [@RvdV](https://forum.shopware.com/u/RvdV)\
**Post date:** [8. Januar 2025 um 15:52 UTC](https://forum.shopware.com/t/deduplicate-customer-accounts-on-e-mailaddress-customer-number/106231/1 "2025-01-08T15:52:08Z")

</div>

Hi there,

Does anyone know how to deduplicate customer accounts based on their e-mailaddress or customer number?

During an import of customer accounts, some were flagged as invalid. After fixing these and importing them again, I saw that the invalid records were created in the first import, so in the second import Shopware created the accounts again with the same emailaddress and customer number.

Now the customers who are in the database can’t login our shop anymore as Shopware can’t find a unique account.

Hope someone has a solution for this. Thanks in advance!
