Change Password
HTTP Request
POST https://zylkerfashionstore.zohostore.com/portaluser/changePassword
JSON Parameters
Parameter | Description |
token* | base64: User's token. |
current_password* | string: Current password of the user's account. |
new_password* | string: New password that needs to be updated. |
confirm_password* | string: Confirmation password of the newly entered password. |
Request Example
Copiedcurl -i -X POST \
-H "Cookie:_iamadt_client_portalId= *****;_iambdt_client_portalId= *****;" \
-d \
'{"token":"*****","current_password":"Test@1234","new_password":"Test@12345","confirm_password":"Test@12345"}' \
'https://zylkerfashionstore.zohostore.com/portaluser/changePassword'
Success Response
Copied{
"status_code": "0",
"status_message": "success",
"api_kind": "kind#change_password"
}
Failure Response
Copied{
"status_code": "1",
"status_message": "failure",
"api_kind": "kind#change_password",
"error": {
"code": 37015,
"message": "Old password is invalid"
},
"developer_message": "Old password is invalid"
}
Use this API to change or update password of an user account in the member portal.