Get User Profile
Query Parameters
integer
User ID to retrieve
string
Email address to retrieve
Provide either
userId or email, not both.Response
boolean
Operation success status
object
User profile object with location
Request Example
Response Example
Success
Update User Profile
Request Body
integer
required
User ID to update
string
Updated first name
string
Updated last name
string
Updated phone number
string
Updated street address
number
Updated location latitude
number
Updated location longitude
number
Alternative latitude field
number
Alternative longitude field
string
Updated city
string
Updated department/state
string
Updated country
Response
boolean
Update success status
string
Success or error message
object
Updated user profile
Request Example
Response Example
Success
Error Responses
Not Found
User not found
Bad Request
Invalid request parameters
Internal Server Error
Server error
Notes
Location updates (address, coordinates, city, etc.) will update the user’s primary location record.