This API is used to update user profile details.
This API is used when the user clicks on the My Profile page from the Profile menu.
This API is used by the user to update profile details like email, firstName, lastName, phoneNum, country, state, address, etc.
To use this API, the user needs to pass body parameters with the user details and authorization token in API in the header.
An authorization token will be generated when the user login to the system.
Here is the description of response attributes, which return in the form of JSON.
Attribute | Description |
---|---|
type | Returns a type of message like success or error. |
message | Returns a message description. |
This API returns a response with 200 status if the API is executed successfully.
Here are the possible error messages, which will return if any conditions fail or the required data is missing for processing to update user details.
Error code | Error description |
---|---|
200 | Ok |
401 | You are not authorized to view the resource |
406 | Not a well-formed email address. |