Skip to main content

OrderDiscountAdd Object

Adds discount to the order.

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

Fields​

order ● Order​

Order which has been discounted.

errors ● [OrderError!]!​

Show deprecatedHide deprecated

orderErrors ● [OrderError!]!​

DEPRECATED

Use errors field instead.

Returned By​

orderDiscountAdd mutation