Skip to main content

OrderDiscountDelete Object

Remove discount from the order.

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

Fields

OrderDiscountDelete.order ● Order object orders

Order which has removed discount.

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

DEPRECATED

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

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

Returned By

orderDiscountDelete mutation