CLIAffiliate
Affiliate
10 `hanzo` commands for Affiliate, each calling one operation on api.hanzo.ai.
Package affiliates is a partner program that pays commission on what your referrals spend.
10 commands · API reference →
| Command | Calls | What it does |
|---|---|---|
hanzo affiliates apply | POST /v1/affiliate/apply | Enrolls the caller's OWN org as an affiliate at status applied, optionally requesting a vanity code, and answers the… |
hanzo affiliates attribute | POST /v1/affiliate/attribute | Records the first-touch edge every later commission is computed from: the caller's org was referred by the affiliate… |
hanzo affiliates click | POST /v1/affiliate/click | Counts a click on a share link. |
hanzo affiliates leaderboard | GET /v1/affiliate/leaderboard | Answers the top affiliates by lifetime accrued commission, shown by OPT-IN HANDLE with aggregate figures only, plus the… |
hanzo affiliates me earnings | GET /v1/affiliate/me/earnings | Answers the caller's own commission ledger: per period, the margin it earned against and the commission taken from that… |
hanzo affiliates me handle | POST /v1/affiliate/me/handle | Sets the caller's public leaderboard display name, or clears it. |
hanzo affiliates me links get | GET /v1/affiliate/me/links | Answers the caller's share links, each with its URL and its funnel: clicks tracked, signups — orgs attributed with that… |
hanzo affiliates me links create | POST /v1/affiliate/me/links | Mints a new share link for the caller's own affiliate and answers it with its full URL, 201. |
hanzo affiliates me get | GET /v1/affiliate/me | Answers the richer self-view: the same lifetime accrued, pending and paid commission and payout history, plus the… |
hanzo affiliates get | GET /v1/affiliate | Answers the caller org's OWN affiliate standing: status, referral code and share link, commission rate, how many orgs… |
How is this guide?