Newer Version Available

This content describes an older version of this product. View Latest

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

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