Skip to main content

orderLineDiscountRemove Mutation

Remove discount applied to the order line.

Requires the MANAGE_ORDERSpermission.
orderLineDiscountRemove(
orderLineId: ID!
): OrderLineDiscountRemove
Details
type OrderLineDiscountRemove {
orderLine: OrderLine
order: Order
orderErrors: [OrderError!]! @deprecated
errors: [OrderError!]!
}

Arguments​

orderLineId ● ID!​

ID of a order line to remove its discount

Type​

OrderLineDiscountRemove​

Remove discount applied to the order line.

Requires the MANAGE_ORDERSpermission.