Magento2 CE REST API for customer information update not validating the given password with actual password, it accepts everything.
Content-Type : application/json
Authorization: Bearer "customerToken"
Method: PUT <base_url>/rest/V1/customers/:customerID
Request:
{
"customer": {
"id": "45338",
"email": "[email protected]",
"firstname": "Updatetest",
"lastname": "Testing",
"websiteId": 1
},
"password": "qawsedrf!"
}
Is any other API exist to update customer information with password validation?