---
title: >-
  Order Editing API supports discounts on fulfilled line items - Shopify
  developer changelog
description: >-
  Shopify’s developer changelog documents all changes to Shopify’s platform.
  Find the latest news and learn about new platform opportunities.
source_url:
  html: >-
    https://shopify.dev/changelog/order-editing-api-supports-discounts-on-fulfilled-line-items
  md: >-
    https://shopify.dev/changelog/order-editing-api-supports-discounts-on-fulfilled-line-items.md
metadata:
  effectiveApiVersion: ''
  affectedApi:
    - displayName: Admin GraphQL API
      handle: admin-graphql
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: New
    handle: new
  indicatesActionRequired: false
  createdAt: '2025-07-23T14:31:52-04:00'
  postedAt: '2025-08-13T12:00:00-04:00'
  updatedAt: '2025-08-11T15:25:14-04:00'
  effectiveAt: '2025-07-24T12:00:00-04:00'
---

August 13, 2025

Tags:

* Admin GraphQL API

# Order Editing API supports discounts on fulfilled line items

You can now apply discounts to line items that have already been fulfilled using the order editing API, resulting in more flexible order adjustments. The [`orderEditAddLineItemDiscount`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/orderEditAddLineItemDiscount) mutation now supports discount application to both fulfilled and unfulfilled line items.

What this means for you:

* Clearer transaction history: Discounts on fulfilled items improve post-purchase financial attribution and reporting.
* Simplified order management:Orders automatically unarchive when you begin editing and re-archive after issuing refunds, eliminating the need for manual archive management.
