POST api/Customer/UpdateUserInformation
Request Information
URI Parameters
None.
Body Parameters
UpdateUserInformationRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| FirstName | string |
None. |
|
| LastName | string |
None. |
|
| string |
None. |
||
| SubscribeEmail | boolean |
None. |
|
| BirthDay | date |
None. |
|
| GsmNumber | string |
None. |
|
| Gender | integer |
None. |
|
| SubscribeSms | boolean |
None. |
|
| IsValidatedByOtp | boolean |
None. |
|
| PermanentSessionId | string |
None. |
|
| IPAddress | string |
None. |
|
| UserAgent | string |
None. |
|
| CaptchaCode | string |
None. |
|
| UserId | globally unique identifier |
None. |
|
| IsIgnoreCaptchaCode | boolean |
None. |
|
| Source | string |
None. |
|
| SubscribeCall | boolean |
None. |
|
| IgnoreGsmUpdate | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"FirstName": "sample string 1",
"LastName": "sample string 2",
"Email": "sample string 3",
"SubscribeEmail": true,
"BirthDay": "2025-10-30T21:00:40.7804261+03:00",
"GsmNumber": "sample string 5",
"Gender": 1,
"SubscribeSms": true,
"IsValidatedByOtp": true,
"PermanentSessionId": "sample string 8",
"IPAddress": "sample string 9",
"UserAgent": "sample string 10",
"CaptchaCode": "sample string 11",
"UserId": "de6a1135-ac8e-401a-b0a6-c1f704a5ac06",
"IsIgnoreCaptchaCode": true,
"Source": "sample string 14",
"SubscribeCall": true,
"IgnoreGsmUpdate": true
}
application/xml, text/xml
Sample:
<UpdateUserInformationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Request"> <BirthDay>2025-10-30T21:00:40.7804261+03:00</BirthDay> <CaptchaCode>sample string 11</CaptchaCode> <Email>sample string 3</Email> <FirstName>sample string 1</FirstName> <Gender>1</Gender> <GsmNumber>sample string 5</GsmNumber> <IPAddress>sample string 9</IPAddress> <IgnoreGsmUpdate>true</IgnoreGsmUpdate> <IsIgnoreCaptchaCode>true</IsIgnoreCaptchaCode> <IsValidatedByOtp>true</IsValidatedByOtp> <LastName>sample string 2</LastName> <PermanentSessionId>sample string 8</PermanentSessionId> <Source>sample string 14</Source> <SubscribeCall>true</SubscribeCall> <SubscribeEmail>true</SubscribeEmail> <SubscribeSms>true</SubscribeSms> <UserAgent>sample string 10</UserAgent> <UserId>de6a1135-ac8e-401a-b0a6-c1f704a5ac06</UserId> </UpdateUserInformationRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
UpdateUserInformationResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| IsCaptchaRequired | boolean |
None. |
|
| IsCaptchaValid | boolean |
None. |
|
| ExceptionMessageList | Collection of string |
None. |
|
| Success | boolean |
None. |
|
| HasNewPhoneNumber | boolean |
None. |
|
| IsValid | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"IsCaptchaRequired": true,
"IsCaptchaValid": true,
"ExceptionMessageList": [
"sample string 1",
"sample string 2"
],
"Success": true,
"HasNewPhoneNumber": true,
"IsValid": true
}
application/xml, text/xml
Sample:
<UpdateUserInformationResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Response">
<ExceptionMessageList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</ExceptionMessageList>
<HasNewPhoneNumber>true</HasNewPhoneNumber>
<IsCaptchaRequired>true</IsCaptchaRequired>
<IsCaptchaValid>true</IsCaptchaValid>
<IsValid>true</IsValid>
<Success>true</Success>
</UpdateUserInformationResponse>