
It's the Monday after Black Friday. A customer emails: "I bought the walnut serving board on Saturday and forgot to use my 15% code. Can you still apply it?" She's polite, she's a repeat buyer, and the order hasn't shipped yet.
You don't want to cancel the order and rebuild it as a draft, and a random refund feels like a workaround. You also aren't sure what an edit will do to the taxes, the payment, or the email she gets. Requests like this are common, because coupon hunting is normal. In a March 2026 survey, 51% of Americans said they almost always search for a coupon or promo code before buying online. Some of those shoppers will find the code a day late.
The good news is that you can add a discount to an existing Shopify order in a few clicks. This guide shows where the option is, what recalculates, what the customer sees, how the refund works, which orders can't be edited, and when a partial refund or a code for the next order is the better choice.
Short answer: Yes, you can add a discount to an order after it's placed. In your Shopify admin, open the order, click Edit, and either click an item's price to discount that item, or click Add custom discount in the Payment section to discount the whole order by an amount or a percentage. Then review and update the order. The total and taxes recalculate, but no money moves yet: if the customer already paid, you still need to issue the refund. Shopify doesn't let you apply the original discount code after checkout, so you add a manual discount of the same value.
TL;DR
Shopify order editing lets you add a discount to one item or one custom discount to the whole order, after the order is placed.
Since the Fall '26 Edition, Shopify says totals and allocations recalculate automatically when you add a discount to an existing order.
Editing the order doesn't refund anyone. If the customer already paid, issue the refund after you update the order.
The reason you type for the discount is shown to the customer, so write it for them.
Some orders can't be edited, including Shop Pay Installments, local delivery and imported orders. Use a partial refund there.
Edit the order when the discount belongs to this purchase. Send a single-use code when the goal is to bring the customer back.
Can You Add a Discount After an Order Is Placed on Shopify?
Yes. Shopify's order editor supports two kinds of discount after purchase:
An item discount, applied to one line item. You can add, change or remove it on fulfilled and unfulfilled items, but not on a line item that's only partially fulfilled.
A custom order discount, applied to the whole order. You can add one, as a fixed amount or a percentage, and it applies on top of any item discounts.
Item discounts have been possible for a while. In November 2023, Shopify added the ability to discount existing line items when editing orders, and its example was a customer who forgot to claim a discount at checkout. The Fall '26 Edition added the whole-order piece: "Apply additional discounts on an existing order. Totals and allocations recalculate automatically."
There's one catch merchants run into. You can't attach the actual discount code to the order after checkout. You add a manual discount instead, set to the same value. And the discounts already on the order, such as a code or an automatic discount the customer got at checkout, can't be changed or removed while you edit.
You can | You can't |
|---|---|
Add, change or remove a manual discount on a fulfilled or unfulfilled item | Discount a line item that's partially fulfilled |
Add one custom discount to the whole order, as an amount or a percentage | Add a second custom order discount |
Remove or change manual discounts you added earlier | Change or remove discount codes, automatic discounts, script discounts or shipping discounts already on the order |
Add a reason the customer will see | Apply the original discount code after checkout |
How to Add a Discount to an Existing Order in Shopify
These steps follow Shopify's Help Center page on editing discounts in an order. You need to be the store owner or a staff member with the Edit orders permission.
Add a discount to one item
In your Shopify admin, go to Orders and open the order.
Click Edit.
Click the price of the item you want to discount.
Choose a discount type, then enter the value.
Optionally, add a reason. This note is shown to the customer.
Click Done, then review and update the order.
If several units sit on one line item, the discount applies to the whole line. If the units are on separate lines, each line needs its own discount.
Add a custom discount to the whole order
Open the order and click Edit.
In the Payment section, click Add custom discount.
In Type, choose Amount or Percentage, then enter the value.
Optionally, enter a Reason for discount. The customer sees this too.
Click Done, then review and update the order.
Use the whole-order discount when the gesture isn't about one product, such as "$10 off for the late delivery." Use an item discount when the discount belongs to a product, such as a price drop on one jacket.
Then issue the refund
This is the step people miss. Updating the order changes the total, and the order then shows that you owe the customer a refund. Shopify is clear that the refund isn't complete just because you edited the order and sent a notification. Go to the order, click Refund, check the amount, and issue it.
If you're already processing a refund on the order, there's a shortcut. Since May 2026, you can apply a discount to an item directly on the refund page, without opening the editor first. The discount covers the item's full quantity, and the refund is calculated on the discounted amount.
What Recalculates When You Add the Discount (and What Doesn't)
Most of the order updates itself, but not everything. This is where a quick check saves a support headache later.
Part of the order | What happens |
|---|---|
Order total | Updates, and the order shows the refund you owe or the balance the customer owes |
Discount allocations | Recalculate automatically across the items, per the Fall '26 Edition |
Taxes and duties | Recalculate when you click Update order |
Shipping | Not recalculated. Shipping rates stay as they were |
Other discounts already on the order | Some recalculate, such as a percentage discount on the whole order. Others don't, so check the total |
The original discount code | Not involved. The edit adds a manual discount, so it isn't recorded as a use of that code |
Reports | If you edit the order after the day it was placed, the edit shows as a separate entry in some sales reports |
Two details matter in practice. First, shipping won't change, so if the discounted order now falls under your free shipping threshold, Shopify won't add a shipping charge on its own. Most stores let it go, since asking for shipping on a goodwill discount undoes the goodwill. Second, because Shopify says some discounts don't recalculate after an edit, read the final total before you save. The considerations for editing orders page lists which ones do.
What the Customer Sees and How Payment Is Handled
The customer sees two things: the reason you gave for the discount, and the edit notification, if you choose to send one. Write the reason as a short message to a person, such as "Your 15% welcome code, applied after checkout," not an internal note like "fwd from support, ticket 4421." You can customize the order edit notification in your notification templates.
The money depends on the order's payment state:
The customer already paid. The discount lowers the total, and you owe a refund. Issue it from the order. You can refund to the original payment method, to store credit, or both, and a refund can't be reversed once you start it. If you use Shopify Payments, the card fees on the original charge aren't returned to you, so a refund costs a little more than its face value.
The order isn't paid yet (for example, payment on delivery or a manual payment method). The discount lowers the balance due, and there's nothing to refund. Shopify notes that orders in Pending payment status may not allow you to edit items and discounts, so check before you promise anything.
The total goes up because you also added an item. You can email an invoice or accept payment. Shopify warns that when a customer pays after an edit, accelerated checkouts like Apple Pay aren't available, and the order's fraud analysis can change.
Taxes follow the new total once you update the order. The refund amount the order shows already reflects that, so you don't need to work out the tax difference yourself.
Edit the Order, Partial Refund, or Future-Order Code: Which to Use
You have three ways to give money back on a purchase. They aren't interchangeable, and choosing the right one keeps your reports and margins clean.
Tool | What it does | Best for | Watch out for |
|---|---|---|---|
Edit the order (item or custom discount) | Lowers this order's prices, recalculates taxes, then you refund the difference | A discount the customer should have had on this purchase: a forgotten code, a price drop | Doesn't work on every order. Refund is a separate step |
Discount on the refund page | Applies an item discount while you refund | You're already refunding the order | Applies to the item's full quantity |
Plain partial refund | Sends money back without changing item prices | Orders you can't edit, or refunding shipping | Item prices and sales figures don't show a discount |
Code for a future order | Gives value on the next purchase, not this one | Service recovery when the goal is a second order | Lock it to one customer and one use |
A simple rule of thumb works for most stores. If the discount belongs to this purchase, edit the order. If you're making up for an experience and want the customer back, send a code for the next order. If the order can't be edited, use a partial refund.
Speed matters whichever you pick. According to Zendesk, more than half of consumers will switch to a competitor after one bad experience, so a quick, clear fix beats a perfect one sent three days later.
Common Scenarios
The customer forgot to enter a code
This is the most common request. Before you apply anything, check that the code would have worked: that it was active on the order date, that the products qualify, and that the customer met any minimum. A code that failed because of discount eligibility rules is a different conversation from one that was simply forgotten.
If it would have applied, edit the order and add a manual discount of the same value. Use a custom order discount for a code that applied to the whole order, or item discounts for a code tied to specific products. Then refund the difference.
Remember that the code itself isn't used. If it was a once-per-customer code, the customer could still redeem it on a later order. For a single-use welcome code, that's worth a short line in your reply, or a quick deactivation if it was a personal code.
The price dropped right after purchase
A customer bought at full price on Tuesday, and the item went on sale on Thursday. You don't have to match it. But if you decide to, an item discount for the difference is cleaner than a loose refund, because the order then shows the price the customer actually paid.
Decide the rule once so every agent answers the same way. A common choice is a short window, such as seven days, for orders that haven't shipped or arrived recently. Write it into your support macros, not your storefront.
A service recovery gesture
When an order arrives late or with a problem, the fix comes first: a replacement, a reshipment or a refund. A gesture is extra. What to give is a separate decision, and the best service recovery offers for late or wrong orders are sized by how bad the miss was and who the customer is.
Mechanically, you have two choices. A custom order discount on the original order gives the money back now, which suits a missed delivery date on a paid order. A single-use code gives value on the next purchase, which suits a gesture meant to bring the customer back. If you use a code, set its combinations on purpose. Product, order and shipping discounts can stack, and a recovery code combined with a January sale can cost more than you planned.
Limits: Orders You Can't Edit or Discount
Shopify's considerations for editing orders list the cases where editing isn't available. You can't edit:
Orders imported into your Shopify admin.
Orders created by an app, unless the app converted them from a draft order.
Orders paid with Shop Pay Installments. Shopify suggests refunding and creating a new order.
Orders with local delivery as the delivery method.
Orders with fulfilled line items when duties and taxes are involved.
Some orders in Pending payment status may also block changes to items and discounts.
The custom order discount has its own limits. You can't add or edit one when:
The order already has a custom order discount.
The order includes a bundle.
The order is a subscription renewal that applied a discount to the whole order.
The order came from a marketplace that collects tax, and at least one item is fulfilled or partially fulfilled.
A few more practical points: only staff with the Edit orders permission can make the change, in-store pickup orders can be edited in the Shopify admin or Shopify app but not the POS app, and a fixed-amount order discount blocks quantity changes until you remove it. If your store uses a fulfillment service or app, confirm it picks up order edits.
When an order falls into one of these cases, use a partial refund for money back now, or a single-use code for the next order.
Where DiscountRay Fits
DiscountRay doesn't edit existing orders, and it doesn't issue refunds. Those stay in Shopify. It helps on either side of the order.
Before the order: many "I forgot my code" emails come from offers that depend on the customer typing something. DiscountRay's automatic discounts, including customer-specific and personalized discounts, apply at checkout when the cart and customer qualify, so there's no code to forget. That's the main practical difference between automatic discounts and discount codes.
After the order: when the right fix is a code for the next purchase, DiscountRay can create a personalized single-use code tied to one customer's email, with an end date, so it can't be shared or reused. That keeps make-good offers from turning into discount abuse.
Conclusion
To add a discount to an existing order in Shopify, open the order, click Edit, and add an item discount or one custom discount for the whole order. Update the order, check the total, and then issue the refund, because the edit alone doesn't move any money. Write the discount reason for the customer, since they'll see it.
Use the order edit when the discount belongs to this purchase, such as a forgotten code or a price drop. Use a partial refund when the order can't be edited, and a single-use code when the goal is the next order. That small decision keeps your reports accurate and your customers clear on what they got.
Can I apply a discount code to an order after it's placed on Shopify?
Does adding a discount to an order automatically refund the customer?
Will the customer be notified when I add a discount to their order?
Do taxes recalculate when I add a discount to an existing order?
Can I add a discount to an order that's already fulfilled?
Why can't I add a custom discount to this order?
Is it better to edit the order or issue a partial refund?
Does a discount added after purchase count toward the code's usage limit?
Syeda Rehnoma Tanzom
This article is written by Syeda Rehnoma Tanzom, an SEO content writer with 3+ years of experience specializing in eCommerce content. What makes the work here a little different? A close collaboration with support teams to understand what merchants are actually going through, their frustrations, their questions, and their wins. The goal is simple: write content that speaks to real problems, not just search engines. When not buried in keywords and content briefs, you'll find her nose-deep in a good book, binge-watching true crime documentaries or psychological thrillers, and occasionally switching gears with a feel-good rom-com.
Cet article a été relu par le Technical Support Team de DiscountRay, qui aide régulièrement les marchands Shopify à tester la configuration des remises, l’éligibilité des clients, le comportement du panier et les problèmes de remise au moment du paiement.