Description
Changes the password for the specified Customer.
Parameters
Name | Data Type | Required / Optional | Description |
---|---|---|---|
auth-userid | Integer | Required | Authentication Parameter |
api-key | String | Required | Authentication Parameter |
customer-id | Integer | Required | Customer Id of the Customer whose password needs to be changed |
new-passwd | String | Required | New password |
HTTP Method
POST
Example Test URL Request
https://test.httpapi.com/api/customers/v2/change-password.json?auth-userid=0&api-key=key&customer-id=0&new-passwd=password1
Response
Returns true (Boolean) if the Customer's password is changed successfully.
In case of any errors, a status key with value as ERROR alongwith an error message will be returned.