Assign a Referrer to a Member

Mark the member as a referral of another member of the same project. Identify the referrer with exactly one of referral_code (the referrer's permanent referral code, shown as support_id in the member profile) or referrer_id (the referrer's member UUID).

The referral loyalty mechanic must be enabled for the project. A member can have only one referrer: the call fails when a referrer is already assigned, and self-referral is rejected. On success the referred member receives the configured referral reward, and the referrer reward is scheduled when the mechanic postpones it by registration date and the member is already verified.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required

UUID of Member being marked as a referral

Body Params

Provide exactly one of referral_code or referrer_id.

string

Permanent referral code of the referring member.

uuid

UUID of the referring member.

Responses

400

Invalid body (both or neither identifier supplied), referral mechanic not enabled (32003), member already has a referrer (1020), or self-referral (1021).

404

Member not found in the project (1001) or referral code not found (32002).

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json