Skip to main content
Version: 3.x


Update discount for the order line.

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


OrderLineDiscountUpdate.orderLine ● OrderLine object

Order line which has been discounted.

OrderLineDiscountUpdate.order ● Order object

Order which is related to the discounted line.

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


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

OrderLineDiscountUpdate.errors ● [OrderError!]! non-null object

Returned by

orderLineDiscountUpdate mutation

Was this page helpful?