Send it to an advocate when a referred friend places an order.
Event Type
referral/completed
Webhook Payload
{
"id": 18,
"event_type": "referral/completed",
"shop_id": 79418982695,
"shopify_domain": "devstore.myshopify.com",
"event_attributes": {
"friend_email": "[email protected]",
"referrals_completed": 1,
"customer_id": 8033849901351,
"customer_email": "[email protected]",
"customer_phone_number": null
}
}
Payload Fields
Field | Type | Description |
---|---|---|
id | Integer | Referral ID |
event_type | String | Always referral/completed for this webhook |