Skip to main content

OrderLineDiscountUpdate

Update discount for the order line.

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

Fields

OrderLineDiscountUpdate.orderLine ● OrderLine object orders

Order line which has been discounted.

OrderLineDiscountUpdate.order ● Order object orders

Order which is related to the discounted line.

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

DEPRECATED

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

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

Returned By

orderLineDiscountUpdate mutation