post https://{defaultBusinessWebAddress}.spaces.nexudus.com/en/profile
Updates the details of the current customer
{
"CreateUser":true,
"Coworker":{
"NewPassword":"Change Password",
"RepeatNewPassword":"Change Password",
"OldPassword":"Current Password",
"SignUpToNewsletter":true,
"ProfileTags":"",
"ProfileTagsList":[
],
"InvoicingSpaceName":"Kalkio Space - East Side",
"InvoicingBusinessId":1004930927,
"GeneralTermsAcceptedOnline":false,
"SimpleTimeZoneId":2023,
"CountryId":1220,
"BillingCountryId":1220,
"InvoicingBusiness":{
"Id":1004930927
},
"SimpleTimeZone":{
"Id":2023
},
"Country":{
"Id":1220
},
"TourDate":null, // provide a valid date to schedule a tour instead
"FullName":"John White",
"Salutation":"John",
"MobilePhone":"020 115 22522",
"Email":"[email protected]",
"QuickForm":false,
"BillingCountry":{
"Id":1220
},
"UpdateSocialNetworks":true,
"UpdateBillingDetails":true
},
"recaptcha":"03AGdBq27...."
}
Remarks
Use "NewPassword" and "RepeatNewPassword" alongside "OldPassword" as the current password of the user to let them change their password.
Use "base64avatar" and "base64banner" as Base64 encoded images (JPG or PNG) to update the customer's profile and banner images.