Anchor to orderEditRemoveLineItemDiscountorder
order Edit Remove Line Item Discount
mutation
Requires access scope.
Deprecated. Use orderEditRemoveDiscount instead.
Removes a line item discount that was applied as part of an order edit.
Anchor to Arguments
Arguments
- Anchor to discountApplicationIddiscount•
Application Id ID!required The ID of the calculated discount application to remove.
- •ID!required
The ID of the calculated order from which to remove the discount.
Was this section helpful?
Anchor to OrderEditRemoveLineItemDiscountPayload returnsOrder Edit Remove Line Item Discount Payload returns
- Anchor to calculatedLineItemcalculated•
Line Item The calculated line item after removal of the discount.
- Anchor to calculatedOrdercalculated•
Order An order with the edits applied but not saved.
- Anchor to userErrorsuser•
Errors [UserError!]!non-null The list of errors that occurred from executing the mutation.
Was this section helpful?