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.

getMemberProfileUsingMembershipNumber(loyaltyProgramName, membershipNumber, programCurrencyName)

Get the details of a loyalty program member using the program membership number.

API Version

55.0

Requires Chatter

No

Signature

public static ConnectApi.MemberDetailsOutput getMemberProfileUsingMembershipNumber(String loyaltyProgramName, String membershipNumber, String programCurrencyName)

Parameters

loyaltyProgramName
Type: String
The name of the loyalty program.
membershipNumber
Type: String
The membership number 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 TestMembershipNumber {
3   ConnectApi.MemberDetailsOutput details = ConnectApi.LoyaltyManagementConnect.getMemberProfileUsingMembershipNumber('program1', 'Member15', 'ruble');
4}