IUCJson.ContactUpdate Method |
Namespace: LSOmni.Service
MemberContact ContactUpdate( MemberContact contact, bool getContact )
Exception | Condition |
---|---|
LSOmniServiceException | StatusCodes returned:
|
Contact Id, User name and EMail are required values for the update command to work.
Any field left out or sent in empty will wipe out that information. Always fill out all Name field, Address and phone number even if it has not changed so it will not be wiped out from LS Central
{ "contact": { "Id": "MO000012", "Addresses": [{ "Address1": "Santa Monica", "CellPhoneNumber": "555-5551", "City": "Hollywood", "Country": "US", "PhoneNumber": "666-6661", "PostCode": "1001", "StateProvinceRegion": "", "Type": "0" }], "Cards": [{ "Id": "10033" }], "Email": "Sarah@Hollywood.com", "FirstName": "Sarah", "Gender": "2", "Initials": "Ms", "LastName": "Parker", "MaritalStatus": "0", "MiddleName": "", "Name": "Sarah Parker", "Password": "SxxInTheCity", "UserName": "sarah" } }