Skip to main content

OrderLineDiscountRemove

Remove discount applied to the order line.

Requires MANAGE_ORDERSpermission.
type OrderLineDiscountRemove {
orderLine: OrderLine
order: Order
orderErrors: [OrderError!]! @deprecated
errors: [OrderError!]!
}

Fields

OrderLineDiscountRemove.orderLine ● OrderLine object orders

Order line which has removed discount.

OrderLineDiscountRemove.order ● Order object orders

Order which is related to line which has removed discount.

OrderLineDiscountRemove.orderErrors ● [OrderError!]! deprecated non-null object orders

DEPRECATED

This field will be removed in Saleor 4.0. Use errors field instead.

OrderLineDiscountRemove.errors ● [OrderError!]! non-null object orders

Returned By

orderLineDiscountRemove mutation