Referral Event
Create referral event records when an advocate refers a friend, or when referred friends sign up or make a purchase.
This action is available in API version 64.0 and later.
URI: /services/data/vXX.X/actions/standard/processB2bReferralEvent
Formats: JSON
HTTP Methods: POST
Authentication: Authorization: Bearer TOKEN
Type: String
Description: Required. The type of event that the referral completed. Possible values are:
ReferEnrollmentPurchase
Type: String
Description: Required. The referral code used by a referral to sign up as a customer, or to make a purchase. The referral code is a combination of the advocate’s referral code and the promotion code separated by a hyphen.
Type: DateTime
Description: The date and time when the referral event took place.
Type: String
Description: ID of the account who is being referred.
Type: String
Description: ID of the lead record that is used to identify referred members.
Type: String
Description: Opportunity record associated with the referral.
Type: String
Description: The ID of the product that the referral purchased.
Type: String
Description: The amount the referral spent to purchase one or more units of a product.
Type: String
Description: The number of units that the referral purchased of a product.
Type: String
Description: ID of the account that is associated as a referral program member.
Type: String
Description: The ID of the referral record of the person who was referred, or whose referral event is processed.
Type: String
Description: ID of the lead record that is used to identify referred members.
Type: String
Description: The current stage of the referral promotion for a referral. Possible values are:
Promotion LaunchedAdvocate Joins PromotionAdvocate Refers FriendFriend Signs UpFriend Completes First Purchase
Type: String
Description: The comma separate list of transaction journal IDs created to process the referral event.
Type: String
Description: The details of the voucher records created for the referral event.
Type: String
Description: The details of the custom reward records created for the referral event.