NewCollectionInput
input type
Create-input for a Collection.
Fields
| Field | Type | Required | Notes |
|---|---|---|---|
caption | String | no | Optional: when omitted the per-type default applies — the merchant code when given, else 'Collection'; when supplied it must be non-blank. |
collectionType | CollectionType CollectionType! | yes | The canned collection kind — immutable after birth. |
predicate | CollectionPredicateInput | no | The predicate — required on dynamic (≥1 axis), refused on static (the named gate). |
excludedProductIds | ID [ID!] | no | Manual exclusions (at most 256, unique) — dynamic only; each tenant-scoped + active. |
sortMode | String | no | The canned sort mode (newest | price-asc | price-desc | manual-pins-first) — dynamic only; defaulted newest. |
code | String | no |