← API reference
CANONICAL TYPE REFERENCE

UpsertWorkCenterPayload

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

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

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

View exact 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!]!
}

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