Mutation
mutation ExecuteOutboundStockPosting($request: ExecuteOutboundStockPostingCommandRequestInput!) {
ExecuteOutboundStockPosting(request: $request) {
totalQuantity
}
}Variables
{
"request": {
"itemId": "id",
"warehouseId": "id",
"quantity": "value"
}
}Response
{
"data": {
"ExecuteOutboundStockPosting": {
"totalQuantity": "value"
}
}
}Mutations
ExecuteOutboundStockPosting
Executes an outbound stock posting (Warenausgang) for an item in a specific warehouse. This is a relative stock change, not a target value - the provided Quantity is removed from the item’s current stock in the given warehouse. Quantity must be greater than 0 and must not exceed the available stock.
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
ExecuteOutboundStockPosting(request: ExecuteOutboundStockPostingCommandRequestInput!): StockPostingResponse!Arguments
request
Returns
totalQuantity
Decimal!
The item's total physical stock (on-hand, including reserved) in the warehouse after the posting.
Mutation
mutation ExecuteOutboundStockPosting($request: ExecuteOutboundStockPostingCommandRequestInput!) {
ExecuteOutboundStockPosting(request: $request) {
totalQuantity
}
}Variables
{
"request": {
"itemId": "id",
"warehouseId": "id",
"quantity": "value"
}
}Response
{
"data": {
"ExecuteOutboundStockPosting": {
"totalQuantity": "value"
}
}
}Was this page helpful?