descriptionHtml:
String -
The description of the collection, in HTML format.
handle:
String -
A unique human-friendly string for the collection. Automatically generated from the collection's title.
id:
ID -
Specifies the collection to update or create a new collection if absent. Required for updating a collection.
image:
ImageInput -
The image associated with the collection.
metafields:
MetafieldInput -
The metafields to associate with the collection.
products:
ID -
Initial list of collection products. Only valid with `collectionCreate` and without rules.
publications:
CollectionPublicationInput -
Initial list of collection publications. Only valid with `collectionCreate`.
redirectNewHandle:
Boolean -
Indicates whether a redirect is required after a new handle has been provided.
If true, then the old handle is redirected to the new one automatically.
ruleSet:
CollectionRuleSetInput -
The rules used to assign products to the collection.
seo:
SEOInput -
SEO information for the collection.
sortOrder:
CollectionSortOrder -
The order in which the collection's products are sorted.
templateSuffix:
String -
The theme template used when viewing the collection in a store.
title:
String -
The title of the collection. Required for creating a new collection.