AlmondTill/G3N API

NewCollectionMemberInput

input type

Create-input for a CollectionMember. The tenant (org group) is derived SERVER-SIDE from the principal — NEVER supplied here; collectionId (the parent — rides the header) and productId are tenant-scoped server-side and must be ACTIVE.

Fields

FieldTypeRequiredNotes
captionStringnoOptional: when omitted the per-type default applies — the constant 'CollectionMember' (a membership edge carries no merchant code); when supplied it must be non-blank.
collectionIdID ID!yesThe owning Collection id.
productIdID ID!yesThe member Product id — immutable after birth.
ordinalIntnoThe display order (LOWER = FIRST; 0..1000000) — defaulted to 0 when omitted.

Used by