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

# ExecuteInboundStockPosting

> Executes an inbound stock posting (Wareneingang) for an item in a specific warehouse. This is a relative stock change, not a target value - the provided Quantity is added to the item's current stock in the given warehouse. Quantity must be greater than 0.

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** `ExecuteInboundStockPosting(request: ExecuteInboundStockPostingCommandRequestInput!): StockPostingResponse!`

## Arguments

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

## Returns

`StockPostingResponse!`

**`totalQuantity`**: `Decimal!`

The item's total physical stock (on-hand, including reserved) in the warehouse after the posting.

## Examples

```graphql Mutation
mutation ExecuteInboundStockPosting($request: ExecuteInboundStockPostingCommandRequestInput!) {
  ExecuteInboundStockPosting(request: $request) {
    totalQuantity
  }
}
```

```json Variables
{
  "request": {
    "itemId": "id",
    "warehouseId": "id",
    "quantity": "value"
  }
}
```

```json Response
{
  "data": {
    "ExecuteInboundStockPosting": {
      "totalQuantity": "value"
    }
  }
}
```
