Update user general data

Please use this (https://blkem.com/mobile_api/gen_settings) API to update profile details of logged in user


Post parameters

Field Value Remarks
session_id ​Access token ID E.g. de25cc16eb00960f076...
first_name ​User user first name E.g. Mansur
last_name ​User user last name E.g. ATL
about ​User bio (Max 140 chars.) E.g. ATL
gender ​User gender (M/F) E.g. M
email ​User email address E.g. email@email.com
phone ​User phone E.g. +17178293298
username ​User new username E.g. mansurTL
website ​User website URL E.g. https://blkem.com/
country_id ​User country ID E.g. 1 (United States)
primary_emergency ​User primary emergency phone E.g. +17178293298
secondary_emergency ​User secondary emergency phone E.g. +17178293298
enable_follow_email Email me when someone followed me 0 = Disable
1 = Enable
enable_follow_request_email Email me when someone sends a follow request 0 = Disable
1 = Enable
enable_subscription_accept_email Email me when my subscription request is accepted 0 = Disable
1 = Enable
enable_visited_email Email me when someone visited my profile 0 = Disable
1 = Enable
enable_follow_posting_email Email me when someone I follow posts 0 = Disable
1 = Enable
enable_new_message_email Email me when I receive a new message 0 = Disable
1 = Enable
enable_post_liked_email Email me when someone like my post 0 = Disable
1 = Enable
enable_post_comment_email Email me when someone replied to my post 0 = Disable
1 = Enable
enable_post_shared_email Email me when someone shares my post 0 = Disable
1 = Enable
enable_mention_email Email me when someone mentions me 0 = Disable
1 = Enable
visual_like Notify me when someone like my post 0 = Disable
1 = Enable
visual_subscribe Notify me when someone followed me 0 = Disable
1 = Enable
visual_subscribe_request Notify me when someone sends a follow request 0 = Disable
1 = Enable
visual_subscribe_accept Notify me when my subscription request is accepted 0 = Disable
1 = Enable
visual_reply Notify me when someone replied me 0 = Disable
1 = Enable
visual_repost Notify me when someone re-posts my publication 0 = Disable
1 = Enable
visual_mention Notify me when someone mentioned me 0 = Disable
1 = Enable
visual_visit Notify me when someone visited my profile 0 = Disable
1 = Enable

Success response

{
    	"code": 200,
    	"message": "Profile data updated successfully",
    	"data":{
    		"id": 7,
    		"first_name": "Mansur",
    		"last_name": "ATL",
    		"user_name": "sdf",
    		"email": "peters_roberts@gmail.com",
    		"is_verified": false,
    		"website": "",
    		"about_you": "Lorem ipsum dolor sit amet, consectetur",
    		"gender": "M",
    		"country": "United States",
    		"post_count": 4061,
    		"ip_address": "192.168.0.106",
    		"following_count": 1,
    		"follower_count": 3512,
    		"language": "english",
    		"last_active": "1 second ago",
    		"member_since": "July, 2020",
            "visual_notifications": {
                "like": 1,
                "subscribe": 0,
                "subscribe_request": 0,
                "subscribe_accept": 0,
                "reply": 0,
                "repost": 0,
                "mention": 0,
                "visit": 0
            },
            "enable_follow_email": 1,
            "enable_follow_request_email": 1,
            "enable_subscription_accept_email": 1,
            "enable_visited_email": 1,
            "enable_follow_posting_email": 1,
            "enable_new_message_email": 1,
            "enable_post_liked_email": 1,
            "enable_post_comment_email": 1,
            "enable_post_shared_email": 1,
            "enable_mention_email": 1,
            "enable_comment_mention_email": 1,
            "primary_emergency": "99999999999",
            "secondary_emergency": "99999999999",
            "verification_code": "XYZ",
            "stripe_customer_id": "cus_Xyz"
    	}
    }
    

Error responses

{
        "code": 401,
        "data": [],
        "message": "Unauthorized Access"
    }

    {
    	"data": [],
    	"message": "",
    	"code": 400
    }