Appearance
UpdateShiftDefinitionInput
Type: Input
Patch for an existing shift definition: every field is optional and omitted fields are left as they are.
Fields
| Name | Type | Default | Description |
|---|---|---|---|
| activeDays | [Int!] | 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. | |
| endTime | String | New end clock time as 24-hour "HH:mm". Omit to leave it unchanged. Earlier than startTime marks the shift as overnight. | |
| name | String | New label for the shift. Omit to leave it unchanged; must not be blank when supplied. | |
| startTime | String | New start clock time as 24-hour "HH:mm". Omit to leave it unchanged. |