Skip to main content
Version: 3.x

OrderDiscountUpdate

Update discount for the order.

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

Fields

OrderDiscountUpdate.order ● Order object

Order which has been discounted.

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

DEPRECATED

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

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

Returned by

orderDiscountUpdate mutation


Was this page helpful?