Get Current User
HTTP Request
GET https://zylkerfashionstore.zohostore.com/portaluser/getCurrentPortalUser
Request Example
Copiedcurl -i -X GET \
'https://zylkerfashionstore.zohostore.com/portaluser/getCurrentPortalUser'
Success Response
Copied{
"status_code": "0",
"status_message": "success",
"api_kind": "current_user",
"current_user": {
"logout_url": "/signout?logout=true&serviceurl=https%3A%2F%2Fcommerce.zoho.com",
"is_store_enabled": true,
"profile_url": "/account/profile",
"site_visibility": 0,
"user": "Adithya Gupta"
}
}
Failure Response
Copied{
"status_code": "1",
"status_message": "failure",
"api_kind": "kind#current_user",
"error": {
"code": 37002,
"message": "Portal disabled"
},
"developer_message": "Portal disabled"
}
Use this API to get current user details of portal.