AlmondTill/G3N API

NewAppointmentInput

input type

Create-input for an Appointment. The create gates: startAt ≥ now + appointment.lead_time_minutes AND ≤ now + appointment.max_advance_days (VALIDATION/INVALID naming the key).

Fields

FieldTypeRequiredNotes
captionStringnoOptional: when omitted the per-type default applies — the purpose + LF coordinate ('service appointment at <LF caption>'); when supplied it must be non-blank.
logicalFacilityIdID ID!yesThe parent LogicalFacility (the booking site) — tenant-scoped + active. Immutable after birth.
purposeAppointmentPurpose AppointmentPurpose!yesImmutable at birth.
variantIdIDnoRequired on service (a service-type variant); forbidden on pickup.
orderIdIDnoRequired on pickup; optional on service (the sold-together pattern).
resourceIdsID [ID!]!yesThe resources to book (1..8, distinct).
startAtString String!yesThe UTC start instant.
durationMinutesInt Int!yes1..1440.
customerOrderCustomerInputnoOptional — the Order customer-capture grammar verbatim.

Used by