# CollectionInput - admin-graphql - INPUT_OBJECT Version: 2024-07 ## Description The input fields required to create a collection. ### Access Scopes ## Fields * [descriptionHtml](/docs/api/admin-graphql/2024-07/scalars/String): String - The description of the collection, in HTML format. * [handle](/docs/api/admin-graphql/2024-07/scalars/String): String - A unique human-friendly string for the collection. Automatically generated from the collection's title. * [id](/docs/api/admin-graphql/2024-07/scalars/ID): ID - Specifies the collection to update or create a new collection if absent. Required for updating a collection. * [image](/docs/api/admin-graphql/2024-07/input-objects/ImageInput): ImageInput - The image associated with the collection. * [metafields](/docs/api/admin-graphql/2024-07/input-objects/MetafieldInput): MetafieldInput - The metafields to associate with the collection. * [privateMetafields](/docs/api/admin-graphql/2024-07/input-objects/PrivateMetafieldInput): PrivateMetafieldInput - The private metafields to associate with the collection. * [products](/docs/api/admin-graphql/2024-07/scalars/ID): ID - Initial list of collection products. Only valid with `collectionCreate` and without rules. * [publications](/docs/api/admin-graphql/2024-07/input-objects/CollectionPublicationInput): CollectionPublicationInput - Initial list of collection publications. Only valid with `collectionCreate`. * [redirectNewHandle](/docs/api/admin-graphql/2024-07/scalars/Boolean): 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](/docs/api/admin-graphql/2024-07/input-objects/CollectionRuleSetInput): CollectionRuleSetInput - The rules used to assign products to the collection. * [seo](/docs/api/admin-graphql/2024-07/input-objects/SEOInput): SEOInput - SEO information for the collection. * [sortOrder](/docs/api/admin-graphql/2024-07/enums/CollectionSortOrder): CollectionSortOrder - The order in which the collection's products are sorted. * [templateSuffix](/docs/api/admin-graphql/2024-07/scalars/String): String - The theme template used when viewing the collection in a store. * [title](/docs/api/admin-graphql/2024-07/scalars/String): String - The title of the collection. Required for creating a new collection. ## Input objects with this input object * [collectionCreate](/docs/api/admin-graphql/2024-07/mutations/collectionCreate) * [collectionUpdate](/docs/api/admin-graphql/2024-07/mutations/collectionUpdate) ## Examples