Update User Details

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.

AttributeDescription
typeReturns a type of message like success or error.
messageReturns 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 codeError description
200Ok
401You are not authorized to view the resource
406Not a well-formed email address.
Language
Authorization
Header
Click Try It! to start a request and see the response here!