ProductionMu Mutation

updateWorkCenter

Topics: Jobs

Update a work center. Only provided fields are changed. Requires workCenter:write permission.

Returns

UpsertWorkCenterPayload!

Arguments

TypeID (prefix "wcr") of the work center to update.

Partial patch: only the fields present are written, the rest are left as-is.

Exact field SDL
"""
Update a work center. Only provided fields are changed. Requires workCenter:write permission.
"""
updateWorkCenter(
  """TypeID (prefix "wcr") of the work center to update."""
  id: WorkCenterID!
  """
  Partial patch: only the fields present are written, the rest are left as-is.
  """
  input: UpdateWorkCenterInput!
): UpsertWorkCenterPayload! @topic(names: ["jobs"])

Declared on Mutation. Access is checked by the platform for each operation.