v1

latestOpenAPI 3.0.12026-08-062532117.6 KB

Delete referrals

Permanently deletes a referral and the sales that cascade from it. This cannot be undone.

referralId accepts either the referral's UUID or the referred user's email address. The request succeeds with the same response even when nothing matched. Fires the referral.deleted webhook.

delete/referrals

Request body

referralIdstring required

The referral to delete. Accepts the referral's UUID or the referred user's email address.

Response

The referral was deleted.

messagestring

Confirmation message