Click or drag to resize

IUCJsonContactGet Method

Search for Member Contact by different searchType methods.

Namespace:  LSOmni.Service
Assembly:  LSOmni.Service (in LSOmni.Service.dll) Version: Commerce Service for LS Central 2024.6
Syntax
C#
MemberContact ContactGet(
	ContactSearchType searchType,
	string search
)

Parameters

searchType
Type: LSRetail.Omni.Domain.DataModel.Loyalty.MembersContactSearchType
Field to search by
search
Type: SystemString
Search value

Return Value

Type: MemberContact
Remarks
LS Central WS2 : GetMemberContact2

LS Central WS4 : GetMemberContactInfo

Examples
Sample request to get Contact by Name
REST Sample Request
{
   "searchType": 4,
   "search": "Sarah Parker",
}
See Also