> Documentation index: [Saleor](/llms.txt) · [This section](/api-reference/deprecated/llms.txt)
> Source: https://docs.saleor.io/api-reference/deprecated/orders/mutations/order-void

# orderVoid Mutation

DEPRECATED

The legacy Payments API is deprecated and will be removed. Use the Transactions API instead.

Void an order.

Requires the MANAGE\_ORDERS permission.

```graphql
orderVoid(
  id: ID!
): OrderVoid @deprecated
```

Details

```graphql
type OrderVoid {
  order: Order
  orderErrors: [OrderError!]! @deprecated
  errors: [OrderError!]!
}
```

<a id="arguments"></a>

### Arguments

<a id="id"></a>

#### [`id`](#id) ● [`ID!`](/api-reference/miscellaneous/scalars/id.md)

ID of the order to void.

<a id="type"></a>

### Type

<a id="ordervoid"></a>

#### [`OrderVoid`](/api-reference/orders/objects/order-void.md)

Void an order.

Requires the MANAGE\_ORDERS permission.
