Skip to main content

Update user profile

Updates a user profile.
Any fields not specified in the request or with null value will be left unchanged.

Path Parameters
userId int32 REQUIRED

The user id

Request Body REQUIRED

The user profile

SiteId int32
Email string
FirstName string
LastName string
PhoneNr string
MobilePhoneNr string
Company string
UserTypeId int32
Address string
Address2 string
Address3 string
DoorCode string
PersonalId string
Birthyear string
Zip string
City string
CareOf string
Country string
CountryId int32
Gender boolean
Password string
Newsletter boolean

Decides whether the user should be subscribed to the newsletter.

MetaData string

Free-text field for any additional data that should be stored with the user.

Responses
200

Ok.

Schema OPTIONAL
Message string OPTIONAL

A status message for the action taken.

Details string[] OPTIONAL

Any validation messages for the data on the current action.

400

Bad request.

Schema OPTIONAL
Message string OPTIONAL

A status message for the action taken.

Details string[] OPTIONAL

Any validation messages for the data on the current action.