← API reference
Mutation / jobs

createWorkCenter

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

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.

Returns UpsertWorkCenterPayload!

Explore in a view

Production Floor
View exact 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"])

Schema reference describes the API contract. Actual access is checked by the platform for every operation.