# deleteSupplier

Audience: Programmer

**Served by:** [maindata](https://docs.pyck.cloud/latest/api/services/maindata.md)

## Arguments

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| `id` | ID! |  |  |

## Returns

[SupplierDeletePayload](https://docs.pyck.cloud/latest/api/types/supplierdeletepayload.md)!

## Example

Soft-deletes a supplier by ID.

```graphql
mutation DeleteSupplier($id: ID!) {
  deleteSupplier(id: $id) {
    deletedID
  }
}
```

**Variables**

```json
{
  "id": "<supplier ID>"
}
```
