Skip to main content

OrderDiscountUpdate Object

Update discount for the order.

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

Fields

OrderDiscountUpdate.order ● Order object orders

Order which has been discounted.

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

DEPRECATED

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

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

Returned By

orderDiscountUpdate mutation