IUCJsonContactGetByCardId Method |
Get Member Contact by card Id. This function returns all information about the Member contact,
including Profiles, Offers, Sales history, Onelist baskets and notifications.
To get basic information, use ContactGet.
Namespace: LSOmni.ServiceAssembly: LSOmni.Service (in LSOmni.Service.dll) Version: Commerce Service for LS Central 2026.8.0
SyntaxMemberContact ContactGetByCardId(
string cardId,
int numberOfTransReturned
)
Parameters
- cardId String
- Card Id
- numberOfTransReturned Int32
- Number of Sales History to return, 0 = all
Return Value
MemberContactContact
Exceptions| Exception | Condition |
|---|
| LSOmniServiceException | StatusCodes returned:
- StatusCode.Error
- StatusCode.SecurityTokenInvalid
- StatusCode.UserNotLoggedIn
- StatusCode.DeviceIsBlocked
- StatusCode.AccessNotAllowed
|
Remarks
LS Central WS2: GetMemberContact2
LS Central WS4: GetMemberContactInfo
See Also