Collection Update Input
The input fields required to update a collection.
Anchor to FieldsFields
- descriptionHtml (String)
- handle (String)
- id (ID)
- image (ImageInput)
- metafields ([MetafieldInput!])
- redirectNewHandle (Boolean)
- seo (SEOInput)
- sortOrder (CollectionSortOrder)
- sourcesToCreate ([CollectionCreateSourceTargetInput!])
- sourcesToDelete ([ID!])
- templateSuffix (String)
- title (String)
- Anchor to descriptionHtmldescription•String
Html The description of the collection, in HTML format.
- Anchor to handlehandle•String
A unique human-friendly string for the collection. Automatically generated from the collection's title.
- •ID
Specifies the collection to update.
- Anchor to imageimage•Image
Input The image associated with the collection.
- Anchor to metafieldsmetafields•[Metafield
Input!] The metafields to associate with the collection.
- Anchor to redirectNewHandleredirect•Boolean
New Handle Default:false 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.
- •SEOInput
SEO information for the collection.
- Anchor to sortOrdersort•Collection
Order Sort Order The order in which the collection's products are sorted.
- Anchor to sourcesToCreatesources•[Collection
To Create Create Source Target Input!] The sources to create for the collection.
- Anchor to sourcesToDeletesources•[ID!]
To Delete The IDs of the sources to delete from the collection.
- Anchor to templateSuffixtemplate•String
Suffix The theme template used when viewing the collection in a store.
- Anchor to titletitle•String
The title of the collection.