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
| Field | Type | Required | Notes |
|---|---|---|---|
caption | String | no | Optional: when omitted the per-type default applies — the purpose + LF coordinate ('service appointment at <LF caption>'); when supplied it must be non-blank. |
logicalFacilityId | ID ID! | yes | The parent LogicalFacility (the booking site) — tenant-scoped + active. Immutable after birth. |
purpose | AppointmentPurpose AppointmentPurpose! | yes | Immutable at birth. |
variantId | ID | no | Required on service (a service-type variant); forbidden on pickup. |
orderId | ID | no | Required on pickup; optional on service (the sold-together pattern). |
resourceIds | ID [ID!]! | yes | The resources to book (1..8, distinct). |
startAt | String String! | yes | The UTC start instant. |
durationMinutes | Int Int! | yes | 1..1440. |
customer | OrderCustomerInput | no | Optional — the Order customer-capture grammar verbatim. |