IeCommerceJsonContactUpdate Method |
Update a contact
Namespace:
LSOmni.Service
Assembly:
LSOmni.Service (in LSOmni.Service.dll) Version: LS Omni 3.7.0
Syntax
ExceptionsException | Condition |
---|
LSOmniServiceException | StatusCodes returned:
- StatusCode.Error
- StatusCode.SecurityTokenInvalid
- StatusCode.UserNotLoggedIn
- StatusCode.DeviceIsBlocked
- StatusCode.AccessNotAllowed
- StatusCode.ParameterInvalid
- StatusCode.EmailInvalid
- StatusCode.ContactIdNotFound
|
Remarks
Nav/Central WS: MM_MOBILE_CONTACT_UPDATE
Contact Id, Username 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 Nav/Central
Examples
Sample request including minimum data needed to be able to process the request in OMNI
{
"contact": {
"Id": "MO000012",
"Addresses": [{
"Address1": "Santa Monica",
"City": "Hollywood",
"Country": "US",
"PostCode": "1001",
"StateProvinceRegion": "",
"Type": "0"
}],
"Email": "Sarah@Hollywood.com",
"FirstName": "Sarah",
"Gender": "2",
"Initials": "Ms",
"LastName": "Parker",
"MaritalStatus": "0",
"MiddleName": "",
"MobilePhone": "555-5551",
"Name": "Sarah Parker",
"Password": "SxxInTheCity",
"Phone": "666-6661",
"UserName": "sarah"
}
}
See Also