Skip to main content

OrderCancel Object

Cancel an order.

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

Fields

OrderCancel.order ● Order object orders

Canceled order.

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

DEPRECATED

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

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

Returned By

orderCancel mutation