← API reference
Mutation / jobs

createOperationItem

Create a new operation item. Requires operation:write permission.

Arguments

The item to create. A supplied externalId must be unused within the tenant, otherwise the mutation returns an errors entry rather than creating.

Returns UpsertOperationItemPayload!

Explore in a view

Production Floor
View exact SDL
"""Create a new operation item. Requires operation:write permission."""
createOperationItem(
  """
  The item to create. A supplied externalId must be unused within the tenant, otherwise the mutation returns an errors entry rather than creating.
  """
  input: CreateOperationItemInput!
): UpsertOperationItemPayload! @topic(names: ["jobs"])

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