Removes a line item discount that was applied as part of an order edit.
Access Scopes
`write_order_edits` access scope.
Arguments
discountApplicationId:
ID! -
The ID of the [calculated discount application](https://shopify.dev/api/admin-graphql/latest/interfaces/calculateddiscountapplication)
to remove.
id:
ID! -
The ID of the [calculated order](https://shopify.dev/api/admin-graphql/latest/objects/calculatedorder)
from which to remove the discount.
Returns
calculatedLineItem:
CalculatedLineItem
The calculated line item after removal of the discount.
calculatedOrder:
CalculatedOrder
An order with the edits applied but not saved.
userErrors:
UserError!
The list of errors that occurred from executing the mutation.