POST api/userprofile
Update User Profile Info
Request Information
URI Parameters
None.
Body Parameters
Name | Description | Type | Additional information |
---|---|---|---|
FirstName |
First Name |
string |
None. |
Surname |
Surname |
string |
None. |
Gender |
Gender |
UserProfileGenderEnum |
None. |
DateOfBirth |
Date Of Birth |
date |
None. |
Address |
Address |
string |
Max length: 250 |
Address2 |
Address line 2 |
string |
Max length: 250 |
PostCode |
Post Code |
string |
Max length: 250 |
Town |
Town |
string |
Max length: 250 |
Country |
Country name |
string |
Max length: 250 |
Phone |
Cellphone number |
string |
Max length: 250 |
Email address |
string |
Max length: 512 |
|
AlternativeEmail |
Alternative (personal) email |
string |
Max length: 512 |
ReceiveNewsletter |
Subscribed on newsletters |
boolean |
None. |
Password |
Password |
string |
None. |
BankAccountNumber |
Bank Account Number (bank account information is used to transfer cashback payments) |
string |
Max length: 250 |
BankRegistrationNumber |
Bank Registration Number (bank account information is used to transfer cashback payments) |
string |
Max length: 250 |
Request Formats
application/json, text/json
{ "firstName": "sample string 1", "surname": "sample string 2", "gender": 0, "dateOfBirth": "2024-11-21T08:47:54.0371028+01:00", "address": "sample string 3", "address2": "sample string 4", "postCode": "sample string 5", "town": "sample string 6", "country": "sample string 7", "phone": "sample string 8", "email": "sample string 9", "alternativeEmail": "sample string 10", "receiveNewsletter": true, "password": "sample string 11", "bankAccountNumber": "sample string 12", "bankRegistrationNumber": "sample string 13" }
Response Information
User update is successful
Response Formats
application/json, text/json
true