Loyalty Program Process

Run a loyalty process created from a loyalty program process template.

Out-of-the-box loyalty program process templates come with a default set of process parameters. You can configure new parameters or remove the default ones by simply cloning a template and running the configured parameters as a customized loyalty process using the loyalty program process API. For example, when using the CreditPointsToMembers process template to credit points to a loyalty member, you can configure the currency value so that the credited points can be redeemed in the currency you’ve specified.

The request and response parameters for the loyalty program process API vary depending on the input and output parameters configured for a loyalty program process in a Salesforce org.

Loyalty Process APILoyalty Process Template NameDescription
/connect/loyalty/programs/​​​DEMO_PROGRAM/program-processes/​CANCEL_VOUCHERCancelVoucherCancel a voucher.
/connect/loyalty/programs/​DEMO_PROGRAM/program-processes/​CREDIT_POINTS_TO_MEMBERSCreditPointsToMembersCredit pre-calculated points to a loyalty member on every transaction.
/connect/loyalty/programs/​DEMO_PROGRAM/program-processes/​DEBIT_POINTS_FROM_MEMBERSDebitPointsFromMembersRedeem a loyalty member’s pre-calculated points on a transaction.
/connect/loyalty/programs/​DEMO_PROGRAM/program-processes/​ENROLL_IN_PROMOTIONEnrollInPromotionEnroll a loyalty member to a promotion.
/connect/loyalty/programs/​DEMO_PROGRAM/program-processes/​GET_MEMBER_PROMOTIONSGetMemberPromotionsView eligible promotions of a loyalty member.
/connect/loyalty/programs/​DEMO_PROGRAM/program-processes/​ISSUE_VOUCHERIssueVoucherIssue a new voucher to a loyalty member.
/connect/loyalty/programs/​DEMO_PROGRAM/program-processes/​UNENROLL_MEMBERUnenrollMemberUnenroll a member from a loyalty program.
/connect/loyalty/programs/​DEMO_PROGRAM/program-processes/​UPDATE_MEMBER_DETAILSUpdateMemberDetailsUpdate a loyalty member profile.
/connect/loyalty/programs/​DEMO_PROGRAM/program-processes/​UPDATE_TIERTierProcessingChange the tier for a loyalty member.

56.0

No

POST

NameTypeDescriptionRequired or OptionalAvailable Version
programNameStringName of the loyalty program.Required56.0
processNameStringName of the process created from a loyalty program process template.Required56.0

Properties

NameTypeDescriptionRequired or OptionalAvailable Version
processParametersLoyalty Process Parameter MapInput parameters for running the loyalty process.Required56.0

Loyalty Process Output