Newer Version Available
Create 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 60.0 and later for users with the Referral Marketing license.
Supported REST HTTP Methods
- URI
- /services/data/vXX.X/actions/standard/processReferralEvent
- Formats
- JSON
- HTTP Methods
- POST
- Authentication
- Authorization: Bearer token
Inputs
| Input | Details |
|---|---|
| activityDateTime |
|
| eventType |
|
| externalReferenceNumber |
|
| referralCode |
|
| referralContactId |
|
| referralEmail |
|
| referralFirstName |
|
| referralLastName |
|
| productId |
|
| purchaseAmount |
|
| purchaseQuantity |
|
Outputs
| Output | Details |
|---|---|
| contactId |
|
| referralId |
|
| referralStage |
|
| transactionJournalIds |
|
| voucherId |
|
Example
Sample Request
Sample Response