Menu
Update Referral
Update referral
PUT
/v1/applications/{applicationId}/campaigns/{campaignId}/referrals/{referralId}Use it in a workflow
- Add a step and choose the Talon.One connector.
- Pick the Update Referral action (under management).
- Fill in the fields below, then reference the result from later steps as
{{updateReferral.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"friendProfileIntegrationId": "BZGGC2454PA",
"startDate": {},
"expiryDate": {},
"usageLimit": 1,
"attributes": {}
}
Response
Returns 200 with an object. Read it in later steps with {{updateReferral.response.data.<field>}}.
{
"id": 6,
"created": {},
"usageLimit": 1,
"campaignId": 78,
"advocateProfileIntegrationId": "URNGV8294NV",
"code": "27G47Y54VH9L",
"usageCounter": 1,
"startDate": {},
"expiryDate": {},
"friendProfileIntegrationId": "BZGGC2454PA",
"attributes": {
"channel": "web"
},
"importId": 4
}
Need more? See the Talon.One guide for connection setup and behaviour shared by every action.
Was this page helpful?