POST api/userprofile

Update User Profile Info

Request Information

URI Parameters

None.

Body Parameters

NameDescriptionTypeAdditional information
FirstName

First Name

string

Required

Max length: 255

Surname

Surname

string

Required

Max length: 255

Gender

Gender

UserProfileGenderEnum

None.

DateOfBirth

Date Of Birth

date

Required

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

Email address

string

Required

Max length: 512

AlternativeEmail

Alternative (personal) email

string

Max length: 512

ReceiveNewsletter

Subscribed on newsletters

boolean

None.

Password

Password

string

Max length: 512

Min length: 6

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

Sample:
{
  "firstName": "sample string 1",
  "surname": "sample string 2",
  "gender": 0,
  "dateOfBirth": "2017-11-20T08:48:50.8846299+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

Is success

Response Formats

application/json, text/json

Sample:
true