Loyalty API
TypeReferral2
Describes one referral in the customer's referral history.
This is the same shape used by the customer-facing referral history block.
If multiple people use the same shared referral link, the response can contain multiple Referral2 entries with the same referral_bhid.
| Kind | Type |
|---|---|
| Used in | CustomerReferrals2, Refer2 |
Properties
-
Bubblehouse ID of the original referral send.
-
Bubblehouse ID of this specific referral result.
Null when the referral has only been sent and has not yet been tied to a specific referred customer.
-
The method used to deliver the referral link (or code) to the target person or audience.
-
destinationstring optionalAn email address for the email channel. Could be used by other channels in the future when relevant; currently the SMS method does not record phone numbers, and social methods do not record social accounts.
-
Current status of the referral.
-
linkstring optionalThe current shareable referral link.
-
The time when the referral was first sent.
-
The time when this referral was first tied to a specific referred customer.
For qualified referrals this is the time when that referred customer first appeared for the referral. Null when the referral has only been sent and has not yet been tied to a specific referred customer.
-
reward_ptsinteger optionalPoints earned by the referrer for this row.
-
Monetary value of
reward_ptsin the venue currency. -
Direct monetary reward earned by the referrer for this row.
-
coupon_codestring optionalCoupon code earned by the referrer for this row, when applicable.