← API reference
CANONICAL TYPE REFERENCE

IssueStockToProductionPayload

Result of issueStockToProduction: the completed transfers and reduced stock, or the validation errors that blocked them.

The stock movements recorded for the issue, one per item, with reason ISSUED_TO_PRODUCTION and status COMPLETED (issuing is immediate — no approval step). Null when validation failed.

The warehouse stock records after their on-hand quantity was reduced. Null when validation failed.

Per-field validation errors (paths such as "items[0].quantity"), including unknown stock records and issues exceeding available quantity. Empty on success; when non-empty no stock was moved.

View exact SDL
"""
Result of `issueStockToProduction`: the completed transfers and reduced stock, or the validation errors that blocked them.
"""
type IssueStockToProductionPayload {
  """
  The stock movements recorded for the issue, one per item, with reason ISSUED_TO_PRODUCTION and status COMPLETED (issuing is immediate — no approval step). Null when validation failed.
  """
  transfers: [WarehouseTransferState!]
  """
  The warehouse stock records after their on-hand quantity was reduced. Null when validation failed.
  """
  updatedStocks: [WarehouseStockState!]
  """
  Per-field validation errors (paths such as "items[0].quantity"), including unknown stock records and issues exceeding available quantity. Empty on success; when non-empty no stock was moved.
  """
  errors: [FieldError!]!
}

One stable address across all schema views. Follow a field’s type to explore connections between domains.