← All types
ProductionOb Object

UpsertWorkCenterPayload

Result of a work center create/update/upsert mutation. Returns either the persisted work center or the validation errors that prevented saving it.

Fields

The created or updated work center; null when validation failed, in which case errors is non-empty.

errors

[FieldError!]!Non-null

Field-level validation errors (path + message). Empty on success.

Referenced by (3)
Exact type SDL
"""
Result of a work center create/update/upsert mutation. Returns either the persisted work center or the validation errors that prevented saving it.
"""
type UpsertWorkCenterPayload {
  """
  The created or updated work center; null when validation failed, in which case errors is non-empty.
  """
  workCenter: WorkCenterState
  """Field-level validation errors (path + message). Empty on success."""
  errors: [FieldError!]!
}