> ## 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.

# UpdateSupplier

> Updates an existing Default-type supplier with PATCH semantics (omitted fields keep their existing value).

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** `UpdateSupplier(request: UpdateSupplierCommandRequestInput!): UpdateSupplierCommandResponse!`

## Arguments

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

## Returns

`UpdateSupplierCommandResponse!`

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

The key of the updated supplier.

## Examples

```graphql Mutation
mutation UpdateSupplier($request: UpdateSupplierCommandRequestInput!) {
  UpdateSupplier(request: $request) {
    id
  }
}
```

```json Variables
{
  "request": {
    "supplierId": "id"
  }
}
```

```json Response
{
  "data": {
    "UpdateSupplier": {
      "id": "id"
    }
  }
}
```
