AlmondTill/G3N API

EditSchedulableResourceInput

input type

Edit-input for a SchedulableResource. Every field optional, at least ONE required; supplied fields REPLACE, omitted fields are preserved (no clearing semantic) EXCEPT userId, where null explicitly CLEARS the staff link (the EditPlugin.apiKeyId nullish-clear law). The parent LF and resourceType are IMMUTABLE at birth (re-home/re-kind = create + doom). A supplied workingHours array REPLACES wholesale.

Fields

FieldTypeRequiredNotes
captionStringnoNo further notes.
userIdIDnoSet (staff-kind only — CONFLICT/REF_STATE else) or null-CLEAR the staff link.
capacityIntno1..100 — raising/lowering re-gates NOTHING retroactively (existing reservations stand; the ceiling applies at future confirms).
workingHoursWorkingHoursWindowInput [WorkingHoursWindowInput!]noThe wholesale replacement (strips every window).
codeStringnoNo further notes.

Used by