Referral Reward Object


Properties
_createdDateDateRead-only

Date and time the referral reward was created.


_idstringRead-onlyformat GUID

Referral reward ID.


One Of

rewardedReferredFriendIdstringRead-onlyformat GUID

ID of the referred friend who received the reward.


rewardedReferringCustomerIdstringRead-onlyformat GUID

ID of the referring customer who received the reward.


revisionstringimmutableformat int64

Revision number, which increments by 1 each time the referral reward is updated. To prevent conflicting changes, the current revision must be passed when updating the referral reward.


rewardTypestring

One Of

couponCoupon

Details of a coupon reward. Present when rewardType is COUPON.


loyaltyPointsLoyaltyPoints

Details of a loyalty points reward. Present when rewardType is LOYALTY_POINTS.


_updatedDateDateRead-only

Date and time the referral reward was last updated.

Did this help?