This API endpoint allows you to update user information. Below is a detailed guide on how to use the /API_Documentation/en/users/update_user_info endpoint.

Endpoint

GET /API_Documentation/en/users/update_user_info

Request Parameters

  • user_id: The unique identifier of the user.
  • new_email: The new email address for the user (optional).
  • new_phone: The new phone number for the user (optional).
  • new_password: The new password for the user (optional).

Example Request

GET /API_Documentation/en/users/update_user_info?user_id=12345&new_email=example@example.com&new_phone=1234567890&new_password=password123

Response

The response will be in JSON format and will include the following fields:

  • status: The status of the request.
  • message: A message describing the result of the request.
  • data: The updated user information.

Example Response

{
  "status": "success",
  "message": "User information updated successfully.",
  "data": {
    "user_id": "12345",
    "email": "example@example.com",
    "phone": "1234567890",
    "password": "hashed_password"
  }
}

Additional Resources

For more information on our API, please visit our API Documentation.

User Update