Overview
A discount is one line on one order saying money came off, and why.A discount is not a promotion. A promotion is a rule — “20% off shoes in July” — that exists on its own, before anybody buys anything. A discount is the result on a particular order.Think of the promotion as the sign in the shop window and the discount as the line on the receipt. One promotion produces thousands of discounts over its life.
kind field distinguishes.
Discount attributes
Note the difference between
value and amount. value is the rule — “10 percent”. amount is the money — ”-$12.00”. You need the rule to explain the discount and the amount to add up the order.
Reading discounts on an order
Whatever produced them, the rows read the same way:Manual discounts
Sometimes there’s no promotion — a price match, an apology for a late delivery. Staff can add a discount directly:How a discount is spread
An order-level discount isn’t kept as one lump sum. It’s divided across the items it applied to, in proportion to what they cost. This looks like an implementation detail until someone returns one item out of three. Then the question is: how much of that $30 discount belonged to the returned shirt? If the discount were one lump, you’d have to guess. Because it was spread at the time, the answer is already recorded, and the refund is right without anyone doing arithmetic on the phone. The same reasoning applies to tax — the tax on a partially returned order follows the same split.Discounts on placed orders
Once an order exists, its discounts stop being regenerated. Editing a placed order re-applies the rows it already has rather than re-running today’s promotions. The alternative would mean an order quietly changing because a sale ended overnight — which is indefensible to a customer holding a confirmation email.Related
- Promotions — the rules that create most discounts
- Order totals — how discounts roll into the total
- Gift cards & store credit — payment, not discount
- Returns — how a discount is unwound on a return

