AlmondTill/G3N API

NewCollectionInput

input type

Create-input for a Collection.

Fields

FieldTypeRequiredNotes
captionStringnoOptional: when omitted the per-type default applies — the merchant code when given, else 'Collection'; when supplied it must be non-blank.
collectionTypeCollectionType CollectionType!yesThe canned collection kind — immutable after birth.
predicateCollectionPredicateInputnoThe predicate — required on dynamic (≥1 axis), refused on static (the named gate).
excludedProductIdsID [ID!]noManual exclusions (at most 256, unique) — dynamic only; each tenant-scoped + active.
sortModeStringnoThe canned sort mode (newest | price-asc | price-desc | manual-pins-first) — dynamic only; defaulted newest.
codeStringno

Used by