ProductionMu Mutation

updateShiftDefinition

Topics: Jobs

Patch an existing shift definition and stamp updatedAt. An unknown id, and any validation failure, come back as payload errors rather than as a GraphQL error. Requires shiftDefinition:write permission.

Returns

UpsertShiftDefinitionPayload!

Arguments

TypeID (prefix "shd") of the shift definition to patch.

Fields to change; omitted fields keep their current values.

Exact field SDL
"""
Patch an existing shift definition and stamp updatedAt. An unknown id, and any validation failure, come back as payload errors rather than as a GraphQL error. Requires shiftDefinition:write permission.
"""
updateShiftDefinition(
  """TypeID (prefix "shd") of the shift definition to patch."""
  id: ShiftDefinitionID!
  """Fields to change; omitted fields keep their current values."""
  input: UpdateShiftDefinitionInput!
): UpsertShiftDefinitionPayload! @topic(names: ["jobs"])

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