Skip to main content
When a customer uses a discount code on a sale credited to a partner, you pay for the discount and the full commission. Discount-based commissions reduce or remove the commission on those sales automatically. For example:
  • Pay no commission on a customer’s first order if they used a code.
  • Pay half the normal commission on any discounted order.
  • Pay less as the discount gets bigger — full commission for small discounts, none for big ones.
The adjustment is a percentage of the commission, not of the sale. If the normal commission is $8 and the rule says pay 50%, the partner earns $4. Sales without a discount always earn the normal commission.

Turn on discount-based commissions

  1. Open your affiliate program, go to Settings under Program, scroll to Commission and click Set up rules (or Manage rules).
  2. Open the Discount-based tab.
  3. Turn on Adjust commission when a discount code is used.
  4. Choose the adjustment type and when to apply it. The parts are explained below.
  5. Click Save to close the window, then Update to save the program settings.

Parts of a rule

Adjustment type

Flat — pay the same share of the normal commission whenever a code is used. Enter it under Commission to pay when a code is used:
  • 0 — pay no commission.
  • 50 — pay half.
  • 100 — pay the full commission.
Tiered — pay less as the customer’s discount grows. Click Add tier for each range: If discount is between [from]% and [to]%, pay [share]% of commission. The discount is a percentage of the price before the discount. Both ends of a range are included, and if ranges overlap, the first matching tier is used. If the discount doesn’t fall into any range, the full commission is paid.

When to apply it


Examples

All examples use a default commission of 20%.

Good to know

  • A sale counts as discounted when it has a discount amount above 0 or a discount code. Full-price sales are never adjusted.
  • Tiered needs the discount as a percentage, so it needs both the discount amount and the price before the discount. If only a code is known, the full commission is paid.
  • The adjustment is applied after the commission rate is picked — default, custom, dynamic or product — and before currency conversion and the maximum commission. It doesn’t change goal-based rewards.
  • Turning the setting off restores normal commissions for new sales. Commissions already created don’t change.

Where discount data comes from

These integrations send the discount automatically: For other integrations, and when you record transactions with the API or the JavaScript library, send the discount with the transaction.

For developers: send discount data

Add these optional fields to the transaction: amount stays the amount the customer actually paid, after the discount. REST API — POST /v1/transactions. See Create a transaction.
The same fields work for each item in the transactions array when you create transactions in bulk. JavaScript library
If you don’t send any discount fields, the sale isn’t treated as discounted and no adjustment is applied.