Skip to main content

CollectionCreateInput

No description

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

Fields

CollectionCreateInput.isPublished ● Boolean scalar

Informs whether a collection is published.

CollectionCreateInput.isVisible ● Boolean scalar

Informs whether a collection is visible.

CollectionCreateInput.customFields ● [AttributeValueInput!] list input

List of custom fields.

CollectionCreateInput.name ● String scalar

Name of the collection.

CollectionCreateInput.slug ● String scalar

Slug of the collection.

CollectionCreateInput.description ● String scalar

Description of the collection (plaintext, deprecated as input).

CollectionCreateInput.descriptionHtml ● String scalar

Description of the collection (HTML).

CollectionCreateInput.backgroundImage ● Upload scalar

Background image file.

CollectionCreateInput.backgroundImageAlt ● String scalar

Alt text for an image.

CollectionCreateInput.seo ● SeoInput input

Search engine optimization fields.

CollectionCreateInput.publicationDate ● Date scalar

Publication date. ISO 8601 standard.

CollectionCreateInput.products ● [ID!] list scalar

List of products to be added to the collection.

CollectionCreateInput.type ● CollectionTypeEnum enum

Collection type to assign to the collection.

Member Of

collectionCreate mutation

Was this page helpful?