Can anyone let me know how to use Rest webapi to create new customer account with password? i have used following webapi in postman but it won't allow me to add password field,rest fields working fine, Please do let me know if anyone have done this kind of things.please find screenshot of webapi I have used to create account:


postman api

error log

  • you're passing wrong array key. Commented Aug 29, 2018 at 6:00

1 Answer 1


Register Customer using API


<route url="/V1/customers" method="POST">
<service class="Magento\Customer\Api\AccountManagementInterface" method="createAccount"/>
    <resource ref="anonymous"/>

url http://<magento-host>/rest/V1/customers

url action :: POST

Body > raw > JSON(application/json)

    "email":"[email protected]",
            "company":"ABC Manufacturing",
                "404 Main Street",
                "PO Box 321"
 "password": "Account@123"
  • Thanks Aditya, it worked for me, i was putting password field inside customer object as per my understanding, your solution worked like a charm!!!! Thanks a lot. Commented Aug 29, 2018 at 6:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.