AlmondTill/G3N API

NewVariantComponentInput

input type

Create-input for a VariantComponent.

Fields

FieldTypeRequiredNotes
captionStringnoOptional: when omitted the per-type default applies — the constant 'VariantComponent' (a composition edge carries no merchant code); when supplied it must be non-blank.
variantIdID ID!yesThe host (kit/bundle) Variant id.
componentVariantIdID ID!yesThe component Variant id — immutable after birth; self-composition refused.
quantityIntnoWhole units per ONE host unit (1..1000000) — defaulted to 1 when omitted.

Used by