--- title: orderEditRemoveLineItemDiscount - GraphQL Admin description: Removes a line item discount that was applied as part of an order edit. api_version: 2025-07 api_name: admin type: mutation api_type: graphql source_url: html: https://shopify.dev/docs/api/admin-graphql/2025-07/mutations/ordereditremovelineitemdiscount md: https://shopify.dev/docs/api/admin-graphql/2025-07/mutations/ordereditremovelineitemdiscount.md --- # order​Edit​Remove​Line​Item​Discount mutation Requires `write_order_edits` access scope. Also: The user must have apply\_discounts\_to\_orders permission. Deprecated. Use [orderEditRemoveDiscount](https://shopify.dev/docs/api/admin-graphql/latest/mutations/orderEditRemoveDiscount) instead. Removes a line item discount that was applied as part of an order edit. ## Arguments * discount​Application​Id [ID!](https://shopify.dev/docs/api/admin-graphql/2025-07/scalars/ID) required The ID of the [calculated discount application](https://shopify.dev/api/admin-graphql/latest/interfaces/calculateddiscountapplication) to remove. * id [ID!](https://shopify.dev/docs/api/admin-graphql/2025-07/scalars/ID) required The ID of the [calculated order](https://shopify.dev/api/admin-graphql/latest/objects/calculatedorder) from which to remove the discount. *** ## Order​Edit​Remove​Line​Item​Discount​Payload returns * calculated​Line​Item [Calculated​Line​Item](https://shopify.dev/docs/api/admin-graphql/2025-07/objects/CalculatedLineItem) The calculated line item after removal of the discount. * calculated​Order [Calculated​Order](https://shopify.dev/docs/api/admin-graphql/2025-07/objects/CalculatedOrder) An order with the edits applied but not saved. * user​Errors [\[User​Error!\]!](https://shopify.dev/docs/api/admin-graphql/2025-07/objects/UserError) non-null The list of errors that occurred from executing the mutation. *** ## Examples * ### orderEditRemoveLineItemDiscount reference