> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sibipro.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete draft order

# `OrderingMutation.deleteDraftOrder()`

Deletes a draft order by its ID.

```graphql theme={null}
type OrderingMutation {
  deleteDraftOrder(id: ID!): OrderingDeleteDraftOrderResponse!
}
```

## Input

### `id`

`string` - The ID of the draft order to delete.

## Response

### `OrderingDeleteDraftOrderResponse`

```graphql theme={null}
type OrderingDeleteDraftOrderResponse {
  success: Boolean!
}
```

***

#### `success`

`boolean` - Whether the draft order was successfully deleted.
