A referral program is defined by an advocate ( the referrer ) and a referral code.

Creating the referral code by API

The referral code can be generated by the createReferralCode endpoint ( or a type in GraphQL )

The schema or the expected requested body includes the below fields: