Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
getMemberProfileUsingLoyaltyProgramMemberId(loyaltyProgramName, memberId, programCurrencyName)
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
Example
1
2public class TestMemberId {
3 ConnectApi.MemberDetailsOutput details = ConnectApi.LoyaltyManagementConnect.getMemberProfileUsingLoyaltyProgramMemberId('program1', '0lMxx00000007XlEAI', 'ruble');
4}