POST api/Customer/UpdateProfile?isMyAccount={isMyAccount}

Documentation for 'UpdateProfile'.

Request Information

Parameters

NameDescriptionAdditional information
model
Documentation for 'model'.

Define this parameter in the request body.

isMyAccount
Documentation for 'isMyAccount'.

Define this parameter in the request URI.

Request body formats

application/json, text/json

Sample:
{
  "ID": "a302145b-4081-43a1-8cc9-bd5ea2ad382a",
  "FBID": "sample string 2",
  "FName": "sample string 3",
  "LName": "sample string 4",
  "Email": "sample string 5",
  "Address": [
    {
      "$id": "2",
      "AddressTitle": "sample string 1",
      "ID": "e0aa1b07-a593-4134-a654-828aeb38ba56",
      "CustomerID": "db11ab9b-0f0c-4316-a23a-adc22b67d07b",
      "Phone": "sample string 4",
      "Street": "sample string 5",
      "District": "sample string 6",
      "ZipCode": "sample string 7",
      "IsDefault": true,
      "ProvinceId": "7cc18063-b26a-44ec-8199-7400fca34f7f",
      "Street2": "sample string 9",
      "CityId": 10,
      "Region": "30da17fd-3e02-4739-ad1a-3008ae25f660",
      "CityLabel": "sample string 11",
      "Street3": "sample string 12",
      "ProvinceName": "sample string 13",
      "RegionName": "sample string 14",
      "DefaultStore": "sample string 15",
      "AddressType": 16,
      "Province": {
        "$id": "3",
        "ID": "7f38cb7f-beea-49e9-900d-4a0bb27e863a",
        "ProvinceName": "sample string 2",
        "IsDeleted": true
      },
      "DistrictId": 1,
      "ReceiverName": "sample string 17",
      "ReceiverPhone": "sample string 18",
      "DefaultAddressID": "c3719719-5813-4e74-9e3d-767d7a72e6dc",
      "IsDeliveryStoreActivated": true,
      "IsIPP": true,
      "IsBDIPP": true,
      "Longitude": 1.0,
      "Latitude": 1.0,
      "GoogleAddress": "sample string 23",
      "KetAlamat": "sample string 24",
      "IPPServiceType": 25,
      "StoreCode": "sample string 26",
      "FullRegionName": "sample string 27"
    },
    {
      "$ref": "2"
    },
    {
      "$ref": "2"
    }
  ],
  "Mobile": "sample string 6",
  "Password": "sample string 7",
  "IPAddress": "sample string 8",
  "IsConfirmed": true,
  "IsSubscribed": true,
  "Phone": "sample string 11",
  "DateOfBirth": "2026-06-06T04:26:38.9232195+07:00",
  "CustomerAddress": "sample string 12",
  "DefaultStoreID": "8ac7b3c4-4fae-4c0e-9877-f71217c2ebb9",
  "CreatedBy": "sample string 13",
  "UpdatedBy": "sample string 14",
  "AllowSMS": true,
  "IsNewsLetterSubscriber": true,
  "Gender": "sample string 17",
  "LastUpdate": "2026-06-06T04:26:38.9232195+07:00",
  "FullName": "sample string 19",
  "ConfirmPassword": "sample string 20",
  "NewEmail": "sample string 21",
  "ConfirmEmail": "sample string 22",
  "NewPassword": "sample string 23",
  "DateOfBirthStringFormatted": "sample string 24",
  "TypePushEmail": 25,
  "IsUpload": true,
  "IsActivated": true,
  "IsShowEmail": true,
  "OTPCode": "sample string 29",
  "OTPCodeCreatedDate": "2026-06-06T04:26:38.9232195+07:00",
  "ValidateOTPDate": "2026-06-06T04:26:38.9232195+07:00",
  "MobileVerified": true,
  "DateOfBirthExists": "2026-06-06T04:26:38.9232195+07:00",
  "OTPValidationExpired": true,
  "IsFromOtherSystem": true,
  "FaspayToken": "sample string 34",
  "OTPCount": 35,
  "OTPAvailable": 36,
  "Day": "sample string 37",
  "Month": "sample string 38",
  "Year": "sample string 39",
  "CustomerType": 40,
  "Username": "sample string 41",
  "ActivationToken": "sample string 42",
  "AccountName": "sample string 43",
  "Bank": "sample string 44",
  "AccountNumber": "sample string 45",
  "BranchBank": "sample string 46",
  "AccountOTP": "sample string 47",
  "AccountOTPCreated": "2026-06-06T04:26:38.9232195+07:00",
  "AccountOTPCount": 1,
  "AccountOTPVerified": true,
  "CustNotifications": [
    {
      "$id": "4",
      "ID": "sample string 1",
      "CustomerID": "sample string 2",
      "Title": "sample string 3",
      "Message": "sample string 4",
      "IsRead": true,
      "IsDeleted": true,
      "Created": "2026-06-06T04:26:38.9232195+07:00"
    },
    {
      "$ref": "4"
    },
    {
      "$ref": "4"
    }
  ],
  "SourceID": "sample string 49",
  "SocialMediaType": "sample string 50",
  "GoogleAccountID": "sample string 51",
  "YahooAccountID": "sample string 52",
  "CaptchaResponse": "sample string 53",
  "Origin": "sample string 54",
  "UserAgent": "sample string 55",
  "Version": "sample string 56",
  "IsActiveIsaku": true,
  "IsakuMobileNo": "sample string 58",
  "EmailVerifiedDate": "2026-06-06T04:26:38.9232195+07:00",
  "StoreName": "sample string 59",
  "StoreDefault": "sample string 60",
  "StoreRegionName": "sample string 61",
  "AddressType": 62,
  "RegionId": "89efac6a-157c-4ad7-a303-ec9e7ec39c7d",
  "StoreStreet": "sample string 64",
  "StoreID": "6a2c9985-9127-4b3d-9c81-fcaefd50cf4b",
  "DistrictName": "sample string 66",
  "DistrictID": 67,
  "AddressTitle": "sample string 68",
  "IsNewAccount": true
}

application/xml, text/xml

Sample:
<CustomerModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ID>a302145b-4081-43a1-8cc9-bd5ea2ad382a</ID>
  <FBID>sample string 2</FBID>
  <FName>sample string 3</FName>
  <LName>sample string 4</LName>
  <Email>sample string 5</Email>
  <Address>
    <CustomerAddressModel>
      <AddressTitle>sample string 1</AddressTitle>
      <ID>e0aa1b07-a593-4134-a654-828aeb38ba56</ID>
      <CustomerID>db11ab9b-0f0c-4316-a23a-adc22b67d07b</CustomerID>
      <Phone>sample string 4</Phone>
      <Street>sample string 5</Street>
      <District>sample string 6</District>
      <ZipCode>sample string 7</ZipCode>
      <IsDefault>true</IsDefault>
      <ProvinceId>7cc18063-b26a-44ec-8199-7400fca34f7f</ProvinceId>
      <Street2>sample string 9</Street2>
      <CityId>10</CityId>
      <Region>30da17fd-3e02-4739-ad1a-3008ae25f660</Region>
      <CityLabel>sample string 11</CityLabel>
      <Street3>sample string 12</Street3>
      <ProvinceName>sample string 13</ProvinceName>
      <RegionName>sample string 14</RegionName>
      <DefaultStore>sample string 15</DefaultStore>
      <AddressType>16</AddressType>
      <Province>
        <ID>7f38cb7f-beea-49e9-900d-4a0bb27e863a</ID>
        <ProvinceName>sample string 2</ProvinceName>
        <IsDeleted>true</IsDeleted>
      </Province>
      <DistrictId>1</DistrictId>
      <ReceiverName>sample string 17</ReceiverName>
      <ReceiverPhone>sample string 18</ReceiverPhone>
      <DefaultAddressID>c3719719-5813-4e74-9e3d-767d7a72e6dc</DefaultAddressID>
      <IsDeliveryStoreActivated>true</IsDeliveryStoreActivated>
      <IsIPP>true</IsIPP>
      <IsBDIPP>true</IsBDIPP>
      <Longitude>1</Longitude>
      <Latitude>1</Latitude>
      <GoogleAddress>sample string 23</GoogleAddress>
      <KetAlamat>sample string 24</KetAlamat>
      <IPPServiceType>25</IPPServiceType>
      <StoreCode>sample string 26</StoreCode>
      <FullRegionName>sample string 27</FullRegionName>
    </CustomerAddressModel>
    <CustomerAddressModel>
      <AddressTitle>sample string 1</AddressTitle>
      <ID>e0aa1b07-a593-4134-a654-828aeb38ba56</ID>
      <CustomerID>db11ab9b-0f0c-4316-a23a-adc22b67d07b</CustomerID>
      <Phone>sample string 4</Phone>
      <Street>sample string 5</Street>
      <District>sample string 6</District>
      <ZipCode>sample string 7</ZipCode>
      <IsDefault>true</IsDefault>
      <ProvinceId>7cc18063-b26a-44ec-8199-7400fca34f7f</ProvinceId>
      <Street2>sample string 9</Street2>
      <CityId>10</CityId>
      <Region>30da17fd-3e02-4739-ad1a-3008ae25f660</Region>
      <CityLabel>sample string 11</CityLabel>
      <Street3>sample string 12</Street3>
      <ProvinceName>sample string 13</ProvinceName>
      <RegionName>sample string 14</RegionName>
      <DefaultStore>sample string 15</DefaultStore>
      <AddressType>16</AddressType>
      <Province>
        <ID>7f38cb7f-beea-49e9-900d-4a0bb27e863a</ID>
        <ProvinceName>sample string 2</ProvinceName>
        <IsDeleted>true</IsDeleted>
      </Province>
      <DistrictId>1</DistrictId>
      <ReceiverName>sample string 17</ReceiverName>
      <ReceiverPhone>sample string 18</ReceiverPhone>
      <DefaultAddressID>c3719719-5813-4e74-9e3d-767d7a72e6dc</DefaultAddressID>
      <IsDeliveryStoreActivated>true</IsDeliveryStoreActivated>
      <IsIPP>true</IsIPP>
      <IsBDIPP>true</IsBDIPP>
      <Longitude>1</Longitude>
      <Latitude>1</Latitude>
      <GoogleAddress>sample string 23</GoogleAddress>
      <KetAlamat>sample string 24</KetAlamat>
      <IPPServiceType>25</IPPServiceType>
      <StoreCode>sample string 26</StoreCode>
      <FullRegionName>sample string 27</FullRegionName>
    </CustomerAddressModel>
    <CustomerAddressModel>
      <AddressTitle>sample string 1</AddressTitle>
      <ID>e0aa1b07-a593-4134-a654-828aeb38ba56</ID>
      <CustomerID>db11ab9b-0f0c-4316-a23a-adc22b67d07b</CustomerID>
      <Phone>sample string 4</Phone>
      <Street>sample string 5</Street>
      <District>sample string 6</District>
      <ZipCode>sample string 7</ZipCode>
      <IsDefault>true</IsDefault>
      <ProvinceId>7cc18063-b26a-44ec-8199-7400fca34f7f</ProvinceId>
      <Street2>sample string 9</Street2>
      <CityId>10</CityId>
      <Region>30da17fd-3e02-4739-ad1a-3008ae25f660</Region>
      <CityLabel>sample string 11</CityLabel>
      <Street3>sample string 12</Street3>
      <ProvinceName>sample string 13</ProvinceName>
      <RegionName>sample string 14</RegionName>
      <DefaultStore>sample string 15</DefaultStore>
      <AddressType>16</AddressType>
      <Province>
        <ID>7f38cb7f-beea-49e9-900d-4a0bb27e863a</ID>
        <ProvinceName>sample string 2</ProvinceName>
        <IsDeleted>true</IsDeleted>
      </Province>
      <DistrictId>1</DistrictId>
      <ReceiverName>sample string 17</ReceiverName>
      <ReceiverPhone>sample string 18</ReceiverPhone>
      <DefaultAddressID>c3719719-5813-4e74-9e3d-767d7a72e6dc</DefaultAddressID>
      <IsDeliveryStoreActivated>true</IsDeliveryStoreActivated>
      <IsIPP>true</IsIPP>
      <IsBDIPP>true</IsBDIPP>
      <Longitude>1</Longitude>
      <Latitude>1</Latitude>
      <GoogleAddress>sample string 23</GoogleAddress>
      <KetAlamat>sample string 24</KetAlamat>
      <IPPServiceType>25</IPPServiceType>
      <StoreCode>sample string 26</StoreCode>
      <FullRegionName>sample string 27</FullRegionName>
    </CustomerAddressModel>
  </Address>
  <Mobile>sample string 6</Mobile>
  <Password>sample string 7</Password>
  <IPAddress>sample string 8</IPAddress>
  <IsConfirmed>true</IsConfirmed>
  <IsSubscribed>true</IsSubscribed>
  <Phone>sample string 11</Phone>
  <DateOfBirth>2026-06-06T04:26:38.9232195+07:00</DateOfBirth>
  <CustomerAddress>sample string 12</CustomerAddress>
  <DefaultStoreID>8ac7b3c4-4fae-4c0e-9877-f71217c2ebb9</DefaultStoreID>
  <CreatedBy>sample string 13</CreatedBy>
  <UpdatedBy>sample string 14</UpdatedBy>
  <AllowSMS>true</AllowSMS>
  <IsNewsLetterSubscriber>true</IsNewsLetterSubscriber>
  <Gender>sample string 17</Gender>
  <LastUpdate>2026-06-06T04:26:38.9232195+07:00</LastUpdate>
  <FullName>sample string 19</FullName>
  <ConfirmPassword>sample string 20</ConfirmPassword>
  <NewEmail>sample string 21</NewEmail>
  <ConfirmEmail>sample string 22</ConfirmEmail>
  <NewPassword>sample string 23</NewPassword>
  <DateOfBirthStringFormatted>sample string 24</DateOfBirthStringFormatted>
  <TypePushEmail>25</TypePushEmail>
  <IsUpload>true</IsUpload>
  <IsActivated>true</IsActivated>
  <IsShowEmail>true</IsShowEmail>
  <OTPCode>sample string 29</OTPCode>
  <OTPCodeCreatedDate>2026-06-06T04:26:38.9232195+07:00</OTPCodeCreatedDate>
  <ValidateOTPDate>2026-06-06T04:26:38.9232195+07:00</ValidateOTPDate>
  <MobileVerified>true</MobileVerified>
  <DateOfBirthExists>2026-06-06T04:26:38.9232195+07:00</DateOfBirthExists>
  <OTPValidationExpired>true</OTPValidationExpired>
  <IsFromOtherSystem>true</IsFromOtherSystem>
  <FaspayToken>sample string 34</FaspayToken>
  <OTPCount>35</OTPCount>
  <OTPAvailable>36</OTPAvailable>
  <Day>sample string 37</Day>
  <Month>sample string 38</Month>
  <Year>sample string 39</Year>
  <CustomerType>40</CustomerType>
  <Username>sample string 41</Username>
  <ActivationToken>sample string 42</ActivationToken>
  <AccountName>sample string 43</AccountName>
  <Bank>sample string 44</Bank>
  <AccountNumber>sample string 45</AccountNumber>
  <BranchBank>sample string 46</BranchBank>
  <AccountOTP>sample string 47</AccountOTP>
  <AccountOTPCreated>2026-06-06T04:26:38.9232195+07:00</AccountOTPCreated>
  <AccountOTPCount>1</AccountOTPCount>
  <AccountOTPVerified>true</AccountOTPVerified>
  <CustNotifications>
    <CustomerNotificationModel>
      <ID>sample string 1</ID>
      <CustomerID>sample string 2</CustomerID>
      <Title>sample string 3</Title>
      <Message>sample string 4</Message>
      <IsRead>true</IsRead>
      <IsDeleted>true</IsDeleted>
      <Created>2026-06-06T04:26:38.9232195+07:00</Created>
    </CustomerNotificationModel>
    <CustomerNotificationModel>
      <ID>sample string 1</ID>
      <CustomerID>sample string 2</CustomerID>
      <Title>sample string 3</Title>
      <Message>sample string 4</Message>
      <IsRead>true</IsRead>
      <IsDeleted>true</IsDeleted>
      <Created>2026-06-06T04:26:38.9232195+07:00</Created>
    </CustomerNotificationModel>
    <CustomerNotificationModel>
      <ID>sample string 1</ID>
      <CustomerID>sample string 2</CustomerID>
      <Title>sample string 3</Title>
      <Message>sample string 4</Message>
      <IsRead>true</IsRead>
      <IsDeleted>true</IsDeleted>
      <Created>2026-06-06T04:26:38.9232195+07:00</Created>
    </CustomerNotificationModel>
  </CustNotifications>
  <SourceID>sample string 49</SourceID>
  <SocialMediaType>sample string 50</SocialMediaType>
  <GoogleAccountID>sample string 51</GoogleAccountID>
  <YahooAccountID>sample string 52</YahooAccountID>
  <CaptchaResponse>sample string 53</CaptchaResponse>
  <Origin>sample string 54</Origin>
  <UserAgent>sample string 55</UserAgent>
  <Version>sample string 56</Version>
  <IsActiveIsaku>true</IsActiveIsaku>
  <IsakuMobileNo>sample string 58</IsakuMobileNo>
  <EmailVerifiedDate>2026-06-06T04:26:38.9232195+07:00</EmailVerifiedDate>
  <StoreName>sample string 59</StoreName>
  <StoreDefault>sample string 60</StoreDefault>
  <StoreRegionName>sample string 61</StoreRegionName>
  <AddressType>62</AddressType>
  <RegionId>89efac6a-157c-4ad7-a303-ec9e7ec39c7d</RegionId>
  <StoreStreet>sample string 64</StoreStreet>
  <StoreID>6a2c9985-9127-4b3d-9c81-fcaefd50cf4b</StoreID>
  <DistrictName>sample string 66</DistrictName>
  <DistrictID>67</DistrictID>
  <AddressTitle>sample string 68</AddressTitle>
  <IsNewAccount>true</IsNewAccount>
</CustomerModel>