Referrals
Update Referral
Update an existing referral’s email, customer ID, subscription ID, or status
PUT
Path Parameters
string
required
The unique identifier of the referral to update
Body Parameters
All body parameters are optional. Only include the fields you want to update.string
Update the customer’s email address. Must be a valid email format.
string
Update your internal customer ID. Set to
null to clear.string
Update your internal subscription ID. Set to
null to clear.string
Update the referral status. Valid values:
lead, trialing, customer, active, canceled, rejected. If changing from lead to any other status, convertedAt will be automatically set. Status changes may trigger webhook events (referral.converted).string
Update the customer’s name.
object
Update the custom key-value data. Pass a new object to replace the existing metadata.
Response
boolean
Always
true for successful responsesobject
The updated referral object.
