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 — REQUIREDThe user id |
Request Body — REQUIRED The user profile |
---|
SiteId int32The ID of the site associated with the user. |
Email stringThe email address of the user. |
FirstName stringThe first name of the user. |
LastName stringThe last name of the user. |
PhoneNr stringThe phone number of the user. |
MobilePhoneNr stringThe mobile phone number of the user. |
Company stringThe company the user is associated with. |
UserTypeId int32UserTypeId of the user. 1 = Private, 2 = Company. |
MemberId int32The member ID of the user. Obsolote. Use CustomerGroupId instead. |
CustomerGroupId int32The Customer Group Id of the user. |
Address stringThe address of the user. |
Address2 stringThe second line of the user's address. |
Address3 stringThe third line of the user's address. |
DoorCode stringThe door code for the user's address. |
PersonalId stringThe personal ID of the user. |
Birthyear stringThe birth year of the user. |
Zip stringThe zip code of the user's address. |
City stringThe city of the user's address. |
CareOf stringThe care of (c/o) address of the user. |
Country stringThe country of the user's address. Can be a country code or a country name. |
State stringThe state of the user's address. |
CountryId int32The country ID of the user's address. |
GenderType int32Possible values: [ The gender of the user. Enum type with the following values: Unspecified=0, Female=1, Male=2. |
Password stringThe password of the user. |
Newsletter booleanDecides whether the user should be subscribed to the newsletter. |
MetaData stringFree-text field for any additional data that should be stored with the user. |
Responses | |||
---|---|---|---|
200 Ok.
| |||
400 Bad request.
|