Referrals
Update Referral
Update an existing referral’s email, customer ID, subscription ID, or status
PUT
Path Parameters
The unique identifier of the referral to update
Body Parameters
All body parameters are optional. Only include the fields you want to update.Update the customer’s email address. Must be a valid email format.
Update your internal customer ID. Set to
null to clear.Update your internal subscription ID. Set to
null to clear.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).Update the customer’s name.
Update the custom key-value data. Pass a new object to replace the existing metadata.
Response
Always
true for successful responsesThe updated referral object.
