← API reference
CANONICAL TYPE REFERENCE

UpdateShiftDefinitionInput

Patch for an existing shift definition: every field is optional and omitted fields are left as they are.

nameString

New label for the shift. Omit to leave it unchanged; must not be blank when supplied.

startTimeString

New start clock time as 24-hour "HH:mm". Omit to leave it unchanged.

endTimeString

New end clock time as 24-hour "HH:mm". Omit to leave it unchanged. Earlier than startTime marks the shift as overnight.

Replacement list of ISO-8601 weekdays (1 = Monday … 7 = Sunday); it is not merged with the current days. Omit to leave them unchanged; must be non-empty when supplied.

View exact SDL
"""
Patch for an existing shift definition: every field is optional and omitted fields are left as they are.
"""
input UpdateShiftDefinitionInput {
  """
  New label for the shift. Omit to leave it unchanged; must not be blank when supplied.
  """
  name: String
  """New start clock time as 24-hour "HH:mm". Omit to leave it unchanged."""
  startTime: String
  """
  New end clock time as 24-hour "HH:mm". Omit to leave it unchanged. Earlier than startTime marks the shift as overnight.
  """
  endTime: String
  """
  Replacement list of ISO-8601 weekdays (1 = Monday … 7 = Sunday); it is not merged with the current days. Omit to leave them unchanged; must be non-empty when supplied.
  """
  activeDays: [Int!]
}

One stable address across all schema views. Follow a field’s type to explore connections between domains.