Skip to main content

OrderDiscountAdd

Adds discount to the order.

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

Fields

OrderDiscountAdd.order ● Order object orders

Order which has been discounted.

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

DEPRECATED

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

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

Returned By

orderDiscountAdd mutation