Creates a new member in the MLM hierarchy. The member can optionally be placed
under a parent (sponsor) using parent_id or referral_code.
Guardrails:
can_recruit is false for the parent, the request will fail with 403Tenant API key for authentication. Keys are scoped to specific environments (LIVE or SANDBOX). Obtain keys from the admin dashboard.
User's email address (must be unique)
Member's tier in the hierarchy
ORDINARY, SENIOR, MANAGER, DIRECTOR Parent/sponsor user ID
Referral code to attribute to a sponsor
Whether the user is active
Whether the user can recruit new members
Member created successfully
Member's tier in the hierarchy
ORDINARY, SENIOR, MANAGER, DIRECTOR