Skip to main content

CollectionCreateInput

Input for creating a collection

input CollectionCreateInput {
isPublished: Boolean
name: String
slug: String
description: String
descriptionJson: String
backgroundImage: Upload
backgroundImageAlt: String
seo: SeoInput
publicationDate: Date
products: [ID!]
customFields: [AttributeValueInput!]
descriptionHtml: String
isVisible: Boolean
type: CollectionTypeEnum
}

Fields​

CollectionCreateInput.isPublished ● Boolean scalar​

Whether the collection is published.

CollectionCreateInput.name ● String scalar​

Name of the collection.

CollectionCreateInput.slug ● String scalar​

Slug of the collection.

CollectionCreateInput.description ● String scalar​

Description of the collection.

CollectionCreateInput.descriptionJson ● String scalar​

JSON description.

CollectionCreateInput.backgroundImage ● Upload scalar​

Background image for the collection.

CollectionCreateInput.backgroundImageAlt ● String scalar​

Alt text for background image.

CollectionCreateInput.seo ● SeoInput input​

SEO configuration.

CollectionCreateInput.publicationDate ● Date scalar​

Publication date.

CollectionCreateInput.products ● [ID!] list scalar​

Products to add to collection.

CollectionCreateInput.customFields ● [AttributeValueInput!] list input​

List of custom fields.

CollectionCreateInput.descriptionHtml ● String scalar​

HTML description of the collection.

CollectionCreateInput.isVisible ● Boolean scalar​

Whether the collection is visible.

CollectionCreateInput.type ● CollectionTypeEnum enum​

Type of the collection (PRODUCT or VARIANT).

Member Of​

collectionCreate mutation

Was this page helpful?