POST api/user/updateuser

Request Information

URI Parameters

None.

Body Parameters

User
NameDescriptionTypeAdditional information
ID

integer

None.

FirstName

string

None.

LastName

string

None.

Gender

string

None.

Email

string

None.

Password

string

None.

Address

string

None.

DateOfBirth

date

None.

PhoneNumber

string

None.

CountryOfResidence

string

None.

ProfilePic

string

None.

IsActive

integer

None.

IsVerified

integer

None.

UserUID

string

None.

Role

string

None.

Wallet

decimal number

None.

SendPromotionalEmail

integer

None.

SendPushNotifications

integer

None.

CreatedBy

integer

None.

CreatedDate

date

None.

CountryCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "FirstName": "sample string 2",
  "LastName": "sample string 3",
  "Gender": "sample string 4",
  "Email": "sample string 5",
  "Password": "sample string 6",
  "Address": "sample string 7",
  "DateOfBirth": "2025-12-11T01:44:55.8064906-05:00",
  "PhoneNumber": "sample string 8",
  "CountryOfResidence": "sample string 9",
  "ProfilePic": "sample string 10",
  "IsActive": 1,
  "IsVerified": 1,
  "UserUID": "sample string 11",
  "Role": "sample string 12",
  "Wallet": 1.0,
  "SendPromotionalEmail": 1,
  "SendPushNotifications": 1,
  "CreatedBy": 1,
  "CreatedDate": "2025-12-11T01:44:55.8064906-05:00",
  "CountryCode": "sample string 13"
}

application/xml, text/xml

Sample:
<User xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WC_API.Models">
  <Address>sample string 7</Address>
  <CountryCode>sample string 13</CountryCode>
  <CountryOfResidence>sample string 9</CountryOfResidence>
  <CreatedBy>1</CreatedBy>
  <CreatedDate>2025-12-11T01:44:55.8064906-05:00</CreatedDate>
  <DateOfBirth>2025-12-11T01:44:55.8064906-05:00</DateOfBirth>
  <Email>sample string 5</Email>
  <FirstName>sample string 2</FirstName>
  <Gender>sample string 4</Gender>
  <ID>1</ID>
  <IsActive>1</IsActive>
  <IsVerified>1</IsVerified>
  <LastName>sample string 3</LastName>
  <Password>sample string 6</Password>
  <PhoneNumber>sample string 8</PhoneNumber>
  <ProfilePic>sample string 10</ProfilePic>
  <Role>sample string 12</Role>
  <SendPromotionalEmail>1</SendPromotionalEmail>
  <SendPushNotifications>1</SendPushNotifications>
  <UserUID>sample string 11</UserUID>
  <Wallet>1</Wallet>
</User>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.