Skip to content

Referral

A Referral is a Contact, Customer, or Partner sending a Lead to a Startup, with any reward it earns.

Properties

PropertyTypeRequiredDescription
rewardmoneyWhat the referrer earns.
rewardKindstringWhat the referrer earns: earlier access, or cash, which pays only after Live.

Object

JSON
{
  "$id": "https://api.sb/patentpad.com/referrals/referral_1",
  "$type": "Referral",
  "reward": {
    "amount": 499,
    "currency": "USD"
  },
  "rewardKind": "access"
}

Relationships

Verbs

  1. createCreates a Referral.
    POST /{namespace}/referralsdoReferral.created
  2. getReturns one Referral by id.
    GET /{namespace}/referrals/{id}readNo Event
  3. listReturns Referrals, newest first, one page at a time.
    GET /{namespace}/referralsreadNo Event
  4. updateChanges the given properties of a Referral.
    PATCH /{namespace}/referrals/{id}doReferral.updated
  5. deleteDeletes a Referral; its history is kept.
    DELETE /{namespace}/referrals/{id}doReferral.deleted

Permissions

Which Access level may call each Verb. One-way Verbs wait their delay window.

Operationowneradminmemberviewer
Referral.createYesYesYesNo
Referral.getYesYesYesYes
Referral.listYesYesYesYes
Referral.updateYesYesYesNo
Referral.deleteYesYesYesNo

Call it

Text
Add a referral to ShiftNote.

Example

A music teacher sends her link to a colleague, who signs up for the lesson-booking App. The Referral credits the teacher one free month when the colleague pays.