Referral event

Create referral event records when an advocate refers a friend, or when the referred friends sign up or make a purchase.

ParameterTypeDescription
devModeBooleanIndicates whether the method is run in the developer mode (true) or not (false).
emailsString[]Required. A list of recipient emails to share the referral code with.
eventTypeStringThe type of event. Possible values are Enrollment, Purchase, or Refer. The default value is Refer.
referralCodeStringRequired. The referral code to share with the recipients.
versionStringThe API version.

A ReferralEventOutputModel instance.

Referral Event Output