Skip to main content
Anchor to orderEditRemoveLineItemDiscount

orderEditRemoveLineItemDiscount

mutation

Requires write_order_edits access scope.

Deprecated. Use orderEditRemoveDiscount instead.

Removes a line item discount that was applied as part of an order edit.

Anchor to discountApplicationIddiscountApplicationId
•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 returnsOrderEditRemoveLineItemDiscountPayload returns

•CalculatedLineItem

The calculated line item after removal of the discount.

•CalculatedOrder

An order with the edits applied but not saved.

•[UserError!]!non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?
OSZAR »