# orderEditRemoveDiscount - admin - MUTATION
Version: 2024-04

## Description
Removes a discount on the current order edit. For more information on how to use the GraphQL Admin API to edit an existing order, refer to [Edit existing orders](https://shopify.dev/apps/fulfillment/order-management-apps/order-editing).

### Access Scopes
`write_order_edits` access scope.


## Arguments
* [discountApplicationId](/docs/api/admin/2024-04/scalars/ID): ID! - The ID of the [calculated discount application](https://shopify.dev/api/admin-graphql/latest/interfaces/calculateddiscountapplication)
to remove.
* [id](/docs/api/admin/2024-04/scalars/ID): ID! - The ID of the [calculated order](https://shopify.dev/api/admin-graphql/latest/objects/calculatedorder)
from which to remove the discount.


## Returns
* [calculatedOrder](/docs/api/admin/2024-04/objects/CalculatedOrder): CalculatedOrder An order with the edits applied but not saved.
* [userErrors](/docs/api/admin/2024-04/objects/OrderEditRemoveDiscountUserError): OrderEditRemoveDiscountUserError! The list of errors that occurred from executing the mutation.


## Examples