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

# DeactivateSupplier

> Deactivates a supplier (sets it inactive). This is the sole removal mechanism (there is no delete) and it is one-way. Blocked by the same guards that protected against deletion: open purchase orders and standard supplier of an article.

If a request with this mutation's Idempotency-Key was already completed, the response's `extensions` contains an `idempotency.{responseName}` entry with `wasReplayed: true`.



**mutation** `DeactivateSupplier(request: DeactivateSupplierCommandRequestInput!): DeactivateSupplierCommandResponse!`

## Arguments

**`request`**: `DeactivateSupplierCommandRequestInput!` (required)

## Returns

`DeactivateSupplierCommandResponse!`

**`id`**: `ID!`

The key of the deactivated supplier.

