Anchor to orderEditRemoveLineItemDiscountorder
mutationorder Edit Remove Line Item Discount
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•ID!required
Application Id 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•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 userErrorsuser•[User
Errors Error!]!non-null The list of errors that occurred from executing the mutation.
Was this section helpful?