← API reference
CANONICAL TYPE REFERENCE

WarehouseStockPayload

Result of a warehouse stock mutation

The saved stock record. Null when the mutation failed validation — inspect errors in that case.

Field-level validation errors (e.g. negative quantity, reserved quantity exceeding quantity). Empty when the mutation succeeded.

View exact SDL
"""Result of a warehouse stock mutation"""
type WarehouseStockPayload {
  """
  The saved stock record. Null when the mutation failed validation — inspect `errors` in that case.
  """
  warehouseStock: WarehouseStockState
  """
  Field-level validation errors (e.g. negative quantity, reserved quantity exceeding quantity). Empty when the mutation succeeded.
  """
  errors: [FieldError!]!
}

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