# I don't able to save the password to create customer API

**URL:** <https://forum.shopware.com/t/i-dont-able-to-save-the-password-to-create-customer-api/52344>\
**Category:** Shopware 5\
**Created:** [12. April 2018 um 20:34 UTC](https://forum.shopware.com/t/i-dont-able-to-save-the-password-to-create-customer-api/52344 "2018-04-12T20:34:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jsnpereira](https://avatars.discourse-cdn.com/v4/letter/j/50afbb/32.png) [@jsnpereira](https://forum.shopware.com/u/jsnpereira)\
**Post date:** [12. April 2018 um 20:34 UTC](https://forum.shopware.com/t/i-dont-able-to-save-the-password-to-create-customer-api/52344/1 "2018-04-12T20:34:01Z")

</div>

I’m preparing the test automation against shopware on my own and learning it. I’ll be working the selenium, service api and java

I tried to create the customer but it isn’t save the password, so it means that I don’t&nbsp; able to signing in this user created on page.

I investigated the documentation and found it has one script to run the password enconder only PHP, unfortanatelly, I don’t have skills it. Can somebody give some sugestion how generate password encoder and able create the customer API with password saved.

Thanks!!!

&nbsp;

---

<div class="post-metadata">

**Author:** ![patricken](https://avatars.discourse-cdn.com/v4/letter/p/ba8739/32.png) [@patricken](https://forum.shopware.com/u/patricken)\
**Post date:** [4. September 2018 um 09:17 UTC](https://forum.shopware.com/t/i-dont-able-to-save-the-password-to-create-customer-api/52344/2 "2018-09-04T09:17:26Z")

</div>

Hey,

I´ve got the same problem and solved it by replacing the field “hashPassword” with “password” which contains the plain password. Shopware automagically encrypts the password with bcrypt upon save.

Best regards,  
Patrick

---

<div class="post-metadata">

**Author:** ![Siffi](https://avatars.discourse-cdn.com/v4/letter/s/ed8c4c/32.png) [@Siffi](https://forum.shopware.com/u/Siffi)\
**Post date:** [4. März 2025 um 13:25 UTC](https://forum.shopware.com/t/i-dont-able-to-save-the-password-to-create-customer-api/52344/3 "2025-03-04T13:25:21Z")

</div>

Do you know if this still works 2025? Or any updates since the post. Thx
