Newer Version Available

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

Create an Instance of LoyaltyAPIManager Class

Create an instance of LoyaltyAPIManager class and interact with the Loyalty Management APIs.
  1. Create an instance of LoyaltyAPIManager by using this signature.
  2. Call the appropriate methods to interact with the Loyalty Management API by using this signature.
  3. To enroll an individual member, use this signature.
    For example:
  4. To retrieve the member benefits, use this signature.
  5. To retrieve the member profile, use this signature.
  6. To retrieve the Experience Cloud user profile, use this signature.
  7. To opt a member in to a promotion, use this signature.
  8. To opt out a member from a promotion using promotion ID or promotion name, use this signature.
  9. To retrieve loyalty member transactions, use this signature.
  10. To retrieve promotions for a loyalty member, use this signature.
  11. To retrieve vouchers for a loyalty member, use this signature.