Change password for existing user

This endpoint changes the password of the customer whose Id is passed in the body request. It checks if the currentPassword is correct and if so changes the users password to the one passed in newPassword in the body request, newPassword must be at least 6 characters long and not longer than 25.

Click Try It! to start a request and see the response here!