AlmondTill/G3N API

NewGiftRegistryInput

input type

Create-input for a GiftRegistry. The tenant is derived SERVER-SIDE; ⚠ the caption IS the registry's name and is REQUIRED at the boundary (the CsCase divergence — an unnamed registry is meaningless). consumerId names the OWNER; the ACTIVE-registries ceiling gates kit-side. The consumer lane is createMyGiftRegistry — NOT this shape (the principal stamps as owner there).

Fields

FieldTypeRequiredNotes
captionStringnoOptional: when omitted the per-type default applies — NONE — the CsCase divergence: the caption IS the registry name, and an omitted caption refuses VALIDATION/INVALID at the boundary instead of defaulting; when supplied it must be non-blank.
registryTypeString String!yeswedding | baby | birthday | anniversary | holiday | wishlist | custom — the canned registry validates.
consumerIdID ID!yesThe OWNING registered Consumer (ruling — the staff lane names it; live-gated: registered + NOT-doomed). ⚠ IMMUTABLE at birth (ruling).
privacyStringnoDefaults 'private' when omitted (strict).
eventDateStringnoISO-8601 instant — present ⇒ arms the scheduled expiry (ruling).
shipToRegistryShipToInputnoThe inline ship-to override.

Used by