Anchor to orderEditRemoveLineItemDiscountorder
mutationorder Edit Remove Line Item Discount
Requires access scope. Also: The user must have apply_discounts_to_orders permission.
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•ID!
Application Id required The ID of the calculated discount application to remove.
- •ID!required
The ID of the calculated order or the order edit session to edit. This is the edit from which the line item discount is removed.
Was this section helpful?
Anchor to OrderEditRemoveLineItemDiscountPayload returnsOrder Edit Remove Line Item Discount Payload returns
- Anchor to calculatedLineItemcalculated•Calculated
Line Item Line Item The calculated line item after removal of the discount.
- Anchor to calculatedOrdercalculated•Calculated
Order Order An order with the edits applied but not saved.
- Anchor to orderEditSessionorder•Order
Edit Session Edit Session The order edit session with the edits applied but not saved.
- Anchor to userErrorsuser•[User
Errors Error!]! non-null The list of errors that occurred from executing the mutation.
Was this section helpful?