WarehouseStockPayload
Result of a warehouse stock mutation
Fields
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.
Referenced by (3)
Exact type 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!]!
}