Make a promotion code the partner's
A customer who redeems the code at a checkout is attributed to the partner, as if they had followed the link.
Loading the operation...
The partner program of this environment GET
One program per environment, so the sandbox and live have their own. 404 with the key affiliate.program.not_set before one is set.
Commissions and the reversal rows that net against them, newest first GET
One commission per paid invoice of a customer a partner brought, in the invoice's currency, on the net, pre-tax amount paid. It is pending for the program's hold (the refund window), then approved, then paid by a payout. A refund, void or credit note takes it back (reversed_minor); one already paid is netted by a negative row of kind reversal that the next payout takes.