I try to change the password over the SOAP API and use the customerCustomerRepositoryV1Save function. But it needs a password hash and I don't know how I can create that hash outside Magento?

Here is a sample code:

$customerdata = ['customer'=>
  'id'=> 1,
  'email'=> 'test@test',
  'firstname' => 'Test',
  'lastname' => 'Test',
  'storeId' => 1,
  'websiteId' => 1
 ], 'passwordHash' => 'test123'

$result = $soapClient->customerCustomerRepositoryV1Save($customerdata);

Or is there any other way?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.