Sent to a friend when they are invited to join the program through the referral widget
Event Type
referral_invite/created
Webhook Payload
{
"id": 18,
"event_type": "referral_invite/created",
"shop_id": 79418982695,
"shopify_domain": "devstore.myshopify.com",
"event_attributes": {
"advocate_name": "Bernie OrderTestTwo",
"reward_name": "5% Off Coupon",
"friend_email": "[email protected]",
"customer_id": 8033849901351,
"customer_email": "[email protected]",
"customer_phone_number": null
}
}
Payload Fields
Field | Type | Description |
---|---|---|
id | Integer | Referral Invite ID |
event_type | String | Always referral_invite/created for this webhook |