Referral Reward Object


Properties
createdDatestringRead-onlyformat date-time

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

Type of reward given.


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.


updatedDatestringRead-onlyformat date-time

Date and time the referral reward was last updated.

Did this help?