Modify User Profile Information
DevelopingPOST
https://api-demo.hybridmlmsoftware.com/rest/apiWelcome to the Update Profile API documentation! . The Update Profile endpoint allows users to modify their profile information. This can include personal details such as name, email, or any other relevant information associated with their account.
Request
Header Params
Accept
string
required
Example:
application/json
Authorization
string
required
Example:
Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiIxNCIsImp0aSI6IjBiZTg1ZDk3OTQyODhhMDE1YjE1NmM4MzU0NWJhMzBmODlmNDJhYWYyODVmNmJhYTljNTQ1ZGQxMTY3ZDBkZTU1MzdjYjhiYjRjNmQwODEzIiwiaWF0IjoxNzE2MzU5MDIxLjk1MTMzNTkwNjk4MjQyMTg3NSwibmJmIjoxNzE2MzU5MDIxLjk1MTMzODA1Mjc0OTYzMzc4OTA2MjUsImV4cCI6MTc0Nzg5NTAyMS45NDUyODg4OTY1NjA2Njg5NDUzMTI1LCJzdWIiOiIzIiwic2NvcGVzIjpbIioiXX0.BZgZ-FSc46BkkKMRiKTRoR_Q34zjngW5ubfpLPqrGUqWW-tiObWP8ZGa5JK62FtqWtZ8gVRufknW2tRnfuo5yf4XRyrf8I7p6EG9fdeT0JporThnuMgGszPZZeDKKjbgOtj0hJX8AM39Ezfu-o-tY7XG4uG8LhYxsh1PlLOxDVawwoS_7tIvCfhBAbh59OeK3c_rikHuuunO_DIqCYl3LFs0si-ooZOh15xGjERCeoWxhDmLrlZkRaMywdR9gCWCho38bGuRJdm954xHzkK68ZBMB6w-xoHvsmCcQ8keQtRP4XyJNmKaBTuErOsP_GB0wL9jiCm4NKPLeJLC-O4disbcnGXR1A37Jmknp2seeUOFvllxUp27W_9xBq3GR_QprrHPdyBmsbmah1TdSnvc1fbTpDu5mvk_GewhRATLLBDisCyJ7rlMO9uTOqMzXC1VuXPLuC-kOEeAzRi_C8tgCHde0t1D--uZr_vFuD4CpfbSHGKJ7AmKjKmlW4fb7j_7jKCFTG5MpPSb6syylKAKnCtAXiJGyuKITtMSzET8krBws3uSIzd4m6UoLO6VOXizOlr6CyIXtXCuJ33jxGA6O_z34BKxvZ_Asu5MN7nPH_7diC-W8d9Ckv6Z377ibx5k0IZgutlJFnBhh31Sw40T474-tBik9k_-MxRATrFiOqk
Body Params multipart/form-data
purpose
string
required
Example:
updateProfile
params[firstname]
string
required
Example:
jishnuraj
params[lastname]
string
required
Example:
raj
params[email]
string
required
Example:
jishnu@gmail.com
params[phone]
number
required
Example:
9896574264
params[dob]
string
required
Example:
2-11-2000
params[gender]
string
required
Example:
F
params[address]
string
required
Example:
nestvilla
params[country_id]
integer
required
You will get country_id from Fetch Country List Api
Example:
5
params[state_id]
integer
required
You will get state_id from Fetch State List Api
Example:
1
params[city]
string
required
Example:
wscstreet
params[zip_code]
string
required
Example:
664578
params[password]
string
required
Example:
12345678
params[about_me]
string
optional
Example:
jishnu
params[facebook]
string
optional
Example:
jishnu faceboook
params[twitter]
string
optional
Example:
jishnu twitter
params[linked_in]
string
optional
Example:
jishnu linked_in
params[instagram]
string
optional
Example:
jishnu instagram
Request samples
Responses
Success(200)
Parameter Error(422)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
object {0}
Example
{
"status": true,
"data": {
"personal": {
"username": "jishnu",
"firstname": "jishnu raj",
"lastname": "raj",
"email": "jishnu@gmail.com",
"phone": "9896574264",
"gender": "F",
"address": "nest villa",
"state": "Andaman and Nicobar Islands",
"country": "Andorra",
"city": "wsc street",
"zip_code": "664578"
},
"social": {
"aboutMe": "jishnu",
"facebook": "jishnu faceboook",
"twitter": "jishnu twitter",
"linkedIn": "jishnu linked_in",
"instagram": "jishnu instagram"
}
},
"message": {
"success": [
"Profile Updated Successfully"
]
}
}
Last modified: 7 months ago