Skip to main content
This webhook is triggered when a customer follows a referral link and completes an order. To subscribe to this webhook, your access token needs to contain the read_customers and read_orders scopes.

Payload

object
required
The referring customer. An object with the same shape as the Customers API response
object
required
The new customer who has been referred. An object with the same shape as the Customers API response
object
required
The referral activity triggered by the referring customer. An object with the same shape as the Activities API response
object
required
The new referred customer’s order that triggered the referral. An object with the same shape as the Orders API response

Example

Example