EditCollectionInput
input type
Edit-input for a Collection. Every field optional, at least ONE required; supplied fields replace, omitted fields are preserved. A supplied predicate replaces wholesale (it can never be cleared — a dynamic collection always carries one) and is re-gated per ref exactly like create; excludedProductIds replaces wholesale (an empty list releases); sortMode replaces (never cleared — it has a birth default). collectionType is NOT editable (immutable at birth). The dynamic-only fields are refused on a static collection.
Fields
| Field | Type | Required | Notes |
|---|---|---|---|
caption | String | no | |
code | String | no | |
predicate | CollectionPredicateInput | no | The replacement predicate (wholesale; ≥1 axis) — dynamic collections only. |
excludedProductIds | ID [ID!] | no | The replacement exclusion list (wholesale; an empty list releases) — dynamic only. |
sortMode | String | no | The replacement sort mode (canned) — dynamic only. |