My Project
  1. User
My Project
  • OUTBACK APIs
    • User
      • Create User
        POST
      • Login User
        POST
      • Forgot Password
        POST
      • Validate otp
        POST
      • Reset Password
        POST
      • Social login
        POST
      • Search Post
        GET
      • Update User
        PUT
      • Get Profile
        GET
      • Get User Profile for Web
        GET
      • Delete Account
        DELETE
      • Logout
        POST
      • Get All Users
        GET
      • Update FCM TOKEN
        PUT
      • Verify User
        POST
      • Follow Unfollow User
        POST
      • Get User Connections
        GET
    • Post
      • Get Popular Categories Post
      • Add Post
      • Update Post
      • Get Post
      • Get My Post
      • Detail Post By Id
      • Get Trending Posts
      • Get Most Viewed Post
      • get specfic user post
      • Record Fav_Unfav post
      • Get Favt Post
      • Record Views
      • All Posts Views
      • Add Comment
      • Get Comments
      • Get Collection List
      • Get Post Collection
      • Remove Collection
      • Soft Delete Post
      • Delete Post
      • Update Sold Type
      • report post
      • update thumnail of posts
    • ChatRoom/Messages
      • Create Chatroom
      • Send Message
      • Get Messages
      • Get ChatRoom
      • Update block status
      • Delete Message
    • Town Hall
      • Add townhall post
      • get town hall post
      • get specific user townhall post
      • reaction on townhall post
      • Add replies
      • get replies
      • Reaction On reply
      • get Location search
      • Report Townhall post
    • notfication
      • message notfication
      • message notfication
    • Category
      • Update Category
      • Get Model By Makes
      • get category V2
      • Add Category
      • Add subcategory
      • Get Categories
      • Delete Category
    • Payments
      • Add Card
      • Get Cards
      • Top up Wallet
      • Get Transaction History
      • View Wallet balence
      • Make Payments
      • Update Default Card
      • Add Bank Account
      • Update Bank Account
      • Withdraw to Bank Acc
    • PAYMENTS APIS
      • Create Setup Intent
      • Save Payment Method
      • For getting test payment Id
      • View Balance
      • Add funds to Account
      • Add Bank Account
      • Get User Bank Accounts
      • Select Default Bank Acc
  1. User

Update User

PUT
/usr-mgt/update

Request

Header Params
Authorization
string 
required
Example:
bearer {{accessToken}}
Body Params application/json
social_links
array [object {2}] 
required
platform
string 
required
url
string 
required
profile_photo_url
string 
required
address
object 
required
zip_code
string 
required
place
string 
required
location
object 
required
type
string 
required
coordinates
array[number]
required
name
string 
required
phone
string 
required
fcm_token
string 
required
Example
{  
    // u can here update address,location,phone
    "profile_photo_url":"https://outback-dev-bucket.s3.ap-southeast-2.amazonaws.com/image_picker_25030447-2DA0-4377-9D43-DD46BF24E558-960-000000A708E597BC.jpg",
    "address":{
        "zip_code":"6500",
        "place":"wapda town"
    },
    "location": {
        "type": "Point",
        "coordinates": [40.7128, -74.0060]
    },
    "name":"naveednizami",
    "phone":"03097176203",
    "fcm_token":"1234567898765432345678765432123456787654321`12345654321"
 


}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'http://13.239.78.144:3000/api/v1/usr-mgt/update' \
--header 'Authorization: bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{  
    // u can here update address,location,phone
    "profile_photo_url":"https://outback-dev-bucket.s3.ap-southeast-2.amazonaws.com/image_picker_25030447-2DA0-4377-9D43-DD46BF24E558-960-000000A708E597BC.jpg",
    "address":{
        "zip_code":"6500",
        "place":"wapda town"
    },
    "location": {
        "type": "Point",
        "coordinates": [40.7128, -74.0060]
    },
    "name":"naveednizami",
    "phone":"03097176203",
    "fcm_token":"1234567898765432345678765432123456787654321`12345654321"
 


}'

Responses

🟢200Success
application/json
Body
object {0}
Example
{}
Modified at 2025-04-09 08:59:26
Previous
Search Post
Next
Get Profile
Built with