getMemberProfileUsingLoyaltyProgramMemberId(loyaltyProgramName, memberId, programCurrencyName)

Get the details of a loyalty program member using the program member ID.

API Version 

55.0

Requires Chatter 

No

Signature 

public static ConnectApi.MemberDetailsOutput getMemberProfileUsingLoyaltyProgramMemberId(String loyaltyProgramName, String memberId, String programCurrencyName)

Parameters 

loyaltyProgramName

Type: String

The name of the loyalty program.

memberId

Type: String

The ID of the loyalty program member.The ID of the loyalty program member.

programCurrencyName

Type: String

The name of the loyalty program currency associated with the member.

Use this parameter to get the details of the member’s points-related information for a specific currency.

Return Value 

Type: ConnectApi.MemberDetailsOutput

Example 

1public class TestMemberId {
2   ConnectApi.MemberDetailsOutput details = ConnectApi.LoyaltyManagementConnect.getMemberProfileUsingLoyaltyProgramMemberId('program1', '0lMxx00000007XlEAI', 'ruble');
3}