ProductionMu Mutation

createWorkCenter

Topics: Jobs

Create a new work center. Requires workCenter:write permission.

Returns

UpsertWorkCenterPayload!

Arguments

Attributes of the work center to create. Its id is generated by the server; externalId, when given, must not already be in use in this tenant.

Exact field SDL
"""Create a new work center. Requires workCenter:write permission."""
createWorkCenter(
  """
  Attributes of the work center to create. Its id is generated by the server; externalId, when given, must not already be in use in this tenant.
  """
  input: CreateWorkCenterInput!
): UpsertWorkCenterPayload! @topic(names: ["jobs"])

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