← API reference
Mutation / jobs

upsertOperationItem

Create or update a single operation item. Requires operation:write permission.

Arguments

The item to write. Supplying id updates that item, merging omitted fields from the stored values; omitting id creates a new one.

Returns UpsertOperationItemPayload!

Explore in a view

Production Floor
View exact SDL
"""
Create or update a single operation item. Requires operation:write permission.
"""
upsertOperationItem(
  """
  The item to write. Supplying `id` updates that item, merging omitted fields from the stored values; omitting `id` creates a new one.
  """
  input: UpsertOperationItemInput!
): UpsertOperationItemPayload! @topic(names: ["jobs"])

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