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

# AddItemSupplier

> Adds supplier information to an existing regular item. This command allows the association of suppliers with the item, including details such as purchase prices, delivery times, and order intervals.

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** `AddItemSupplier(request: AddItemSupplierCommandRequestInput!): AddItemSupplierCommandResponse!`

## Arguments

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

## Returns

`AddItemSupplierCommandResponse!`

**`itemId`**: `ID!`

Unique ID of the modified item.

## Examples

```graphql Mutation
mutation AddItemSupplier($request: AddItemSupplierCommandRequestInput!) {
  AddItemSupplier(request: $request) {
    itemId
  }
}
```

```json Variables
{
  "request": {
    "itemId": "id",
    "itemSupplier": {
      "supplierId": "id"
    }
  }
}
```

```json Response
{
  "data": {
    "AddItemSupplier": {
      "itemId": "id"
    }
  }
}
```
