Skip to content

How to Discount a Draft Order on Shopify

Apply custom, line item, code and automatic discounts to a Shopify draft order, plus the five-code limit, unsupported types and invoice settings.

How-to guidesThe diex team11 min read

You are on the phone with a customer, or building an invoice for a wholesale account, and the total needs to land on the number you agreed. Shopify gives you four different ways to take money off a draft order, and they do not behave the same way. This article covers each one, the documented limits that stop merchants halfway through, and the invoice setting that decides whether your customer can add a code of their own.

Four discount options, two real decisions

Shopify's help page on adding discounts to draft orders lists four options: add an existing discount code along with eligible line items, add all eligible automatic discounts, add a custom amount off the order, or add a custom amount off individual line items.

Underneath those four, there are really only two decisions:

  • Are you honoring something that already exists in your store? Use a discount code or the automatic discounts option. The discount keeps its name and its own rules.
  • Are you setting a price for this one order? Use a custom order discount or a custom line item discount. Nothing is saved back to your store.

There is a third option worth knowing about, because merchants often reach for a discount when a custom price is what they actually want. Shopify's guidance on the same page is direct: to replace a line item's listed price entirely, or to charge more than the listed price, "set a custom price on the line item instead of adding a discount." On the create a draft order page, Shopify explains that you can set a custom price on any line item to charge more or less than the product's listed price, and that "a custom price applies only to the line item on this draft order. The product's price isn't changed."

What you want Use Where it lives
Honor a live promo code Existing discount code Payment > Add discount
Give the best price the store offers today Apply all eligible automatic discounts Payment > Add discount
Knock a negotiated amount off the whole order Custom order discount Payment > Add discount
Discount one product on the order Custom line item discount Click the product price
Charge an agreed wholesale price, or more than list Custom price Click the product price

The custom price route is the cleanest one for negotiated wholesale work. Shopify notes the one exception on the same page: "you can't set a custom price for a subscription product in a draft order." Otherwise the line shows your agreed figure, there is no percentage to reverse engineer later, and nobody has to explain why the invoice says 23.7% off.

Add a custom order discount or a line item discount

For a discount across the whole order, Shopify's steps are:

  1. From your Shopify admin, go to Orders > Drafts.
  2. Click an existing draft order, or click Create order.
  3. In the Payment section, click Add discount.
  4. Check Add custom order discount.
  5. Set the discount as a currency amount, or a percentage of the listed price.
  6. Optional: add a reason in Reason for discount. Shopify notes that this note "is visible to your customers."
  7. Click Done.

For a single product, click the product price on that line instead, choose a type from the Discount type drop-down, and enter the amount in the Value (per unit) or Value field. There is a Reason for discount field here too, and the same warning applies: your customer sees it. Write something you are happy for the customer to read, such as "Wholesale pricing" or "Agreed quote."

Two details matter for getting the total right. First, Shopify states that "both custom order discounts and line item discounts are applied to the total price of the order," followed by a plain warning: "Be careful not to duplicate the discount." Second, a percentage custom order discount is a percentage of the listed price, and Shopify adds that "this discount is applied on top of any item-specific discounts."

So check the order summary before you save. For example, say the order lists at $600 and you agreed on $540. Either a $60 custom order discount or a 10% custom order discount gets you there. If you add a $60 line item discount and a 10% order discount because you were not sure which one took effect, the invoice will go out lower than you promised, and the customer has no reason to tell you.

Apply an existing discount code to the draft

If the customer has a code, or you issued one to their account, type it onto the draft:

  1. From your Shopify admin, go to Orders > Drafts.
  2. Click an existing draft order, or click Create order.
  3. In the Payment section, click Add discount.
  4. In Discount codes, type the discount code.
  5. Click Done.

The code still has to be valid and eligible. If it has not started yet, has hit its usage cap, or does not match anything on the order, it will not apply. Worse, a code that goes bad after you add it blocks the sale: Shopify warns that a discount added to an open draft order that "becomes invalid or ineligible before the order is complete" will "prevent you and your customer from completing the order." You clear it from Payment > Edit discount, where you "click the trash icon next to any discount code you want to remove," then click Done and Save.

Usage limits are held, not spent, at submission. Shopify's discounts FAQ says that "when a customer submits their order, the discount code is held against its usage limit until the payment completes or fails," and that "a declined payment releases the hold, and the customer can use the code again." A one-per-customer code you apply yourself is therefore consumed once that invoice is paid, which is the behavior you want when you are issuing a single code per account.

That pattern is why generated codes work well for invoiced accounts. diex can generate batches of unique discount codes with a total usage limit or one use per customer, and because they are regular Shopify discount codes, you can type one straight into a draft order. Stick to the percentage and fixed amount types for this; the free shipping and buy X get X types run into the draft order limits below.

Apply all eligible automatic discounts

This option is easy to overlook, and skipping it quotes the customer above your public price. Shopify is explicit: "Automatic discounts won't automatically apply to orders created as drafts in your admin." A storewide 15% off sale that every online shopper gets does not touch the order you build by hand.

To give the customer the price they would have received on their own:

  1. From your Shopify admin, go to Orders > Drafts.
  2. Click an existing draft order, or click Create order.
  3. In the Payment section, click Add discount.
  4. Check Apply all eligible automatic discounts.
  5. Click Done.

It is all or nothing. There is no list of automatic discounts to pick from, so if two are running and you only want one of them, you are back to a custom discount and doing the math yourself. If you are deciding how to build the promotion in the first place, our comparison of automatic discounts and discount codes covers the trade-off.

App discounts need a test before you rely on them. Shopify's Discount Function API reference lists Draft Order (Admin) and Draft Order (Checkout) as partially supported, and notes that "discount functions with network access aren't supported on draft orders." Build one throwaway draft order, add the products, and see whether the discount lands before you promise a customer it will.

The limits that catch people out

Every item here is in Shopify's own limitations list for draft order discounts:

  • Five codes per order, total. "A total of 5 discount codes can be applied to a single order." That ceiling covers codes you add and codes your customer adds.
  • Shipping discount codes are not supported. The documented workaround: "You can add a custom shipping rate to provide a discounted shipping rate to your customers instead of a regular rate." You set the shipping figure directly, so a free shipping offer becomes a $0.00 custom rate.
  • Buy X get Y discount codes are not supported. If the deal is "buy three, get one free," add the free unit as a line and set its custom price to zero, or discount that line to zero.
  • Customers cannot enter codes by default. "By default, discount codes can't be applied at checkout for orders created as draft order invoices or links."
  • Legacy checkout is out. Shopify's note: "Discount codes and automatic discounts aren't compatible with checkout.liquid."

Combinations still follow the normal rules. Shopify says "eligible discount combinations can be added to your draft order in addition to custom order and line item discounts," so a code that is not set to combine with another will not stack just because you typed both in. If you are unsure which pairs work, see what actually stacks on Shopify.

Letting the customer enter a code on the invoice

This setting trips people up because it is per order, every time. Shopify's page on adding discounts to draft orders states that "this option applies only to individual draft orders, so you must activate that option every time you want to allow your customer to be able to add discount codes during checkout." There is no store-level default to flip.

You make the choice at the moment you send the invoice or share the checkout link: "to allow customers to add discount codes to the draft order, select Discount codes."

Three things to keep in mind:

  • You can over-discount yourself. The same limitations list warns that "draft orders risk potentially being discounted more than you anticipate when both you and the customer apply discount codes to the order." If you already applied a negotiated custom discount, leaving the box unchecked is usually right.
  • Desktop only for shared links. Shopify's send-invoice page says "you can't activate the option to allow customers to apply discount codes themselves during a draft order checkout when you share a direct checkout link from a mobile device," and that you must use a desktop device instead.
  • Prices are locked unless you say otherwise. The same dialog has a Product prices setting to lock all prices on the order, and Shopify notes that "product prices are locked by default."

How discounted draft orders show up in your reporting

Converted drafts do count. Shopify states that the sales reports include "draft orders that have been converted into orders." In the total sales by sales channel report, sales that originated as draft orders are shown as Draft Orders in the sales channel column, so you can separate phone and invoice revenue from your storefront.

Attribution is where custom discounts fall down. The sales by discount codes report groups sales "by the name of the discount, such as the automatic discount name or discount code." A custom order discount has only the reason you typed, not a discount name, so there is no name for the report to group it under. Shopify's documentation does not say whether a real discount code applied to a draft order is picked up in this report either, so test it on one converted draft before you rely on it for attribution. Our walkthrough of the sales by discount codes report covers what that report can and cannot tell you.

One housekeeping note from Shopify's create a draft order documentation: "draft orders created on or after April 1, 2025, are automatically deleted after 1 year of inactivity," and any type of edit to the draft order resets the timer. Long-running quotes need a nudge or a note somewhere else.

What to do before you send the next invoice

  1. Decide the mechanism first. Negotiated wholesale price, use a custom price on the line, unless the product is a subscription. Honoring a live promo, use the code or the automatic discounts checkbox.
  2. If a sale is running, check Apply all eligible automatic discounts so the customer is not quoted above your public price.
  3. Read the order summary total out loud against the number you agreed, especially if you used both a line item discount and an order discount.
  4. Check the Reason for discount text you entered. Your customer reads it.
  5. Decide on the Discount codes checkbox deliberately when you send. Leave it off when you have already discounted.
  6. Test one draft order with any app-based discount you depend on, before a customer is waiting on the line.
  7. If you need the deal to appear in the sales by discount codes report, convert one test draft with a real code on it and check the report before you use the same approach on a live account.

Sources

  1. Shopify Help Center: Adding discounts to draft orders
  2. Shopify Help Center: Create a draft order
  3. Shopify Help Center: Send a draft order invoice or checkout link
  4. Shopify Help Center: Discounts FAQ
  5. Shopify Help Center: Shopify sales reports
  6. Shopify.dev: Discount Function API

Drafted with AI from the sources above and checked automatically against them and our product facts. Spotted a mistake? Email help@diex.app.

More articles

Run the promotions you actually want to run

Install diex from the Shopify App Store. One plan at $29.99 a month, billed by Shopify.