Skip to main content

CollectionCreateInput

No description

input CollectionCreateInput {
isPublished: Boolean
name: String
slug: String
description: JSONString
backgroundImage: Upload
backgroundImageAlt: String
seo: SeoInput
publicationDate: Date
metadata: [MetadataInput!]
privateMetadata: [MetadataInput!]
products: [ID!]
}

Fields

CollectionCreateInput.isPublished ● Boolean scalar miscellaneous

Informs whether a collection is published.

CollectionCreateInput.name ● String scalar miscellaneous

Name of the collection.

CollectionCreateInput.slug ● String scalar miscellaneous

Slug of the collection.

CollectionCreateInput.description ● JSONString scalar miscellaneous

Description of the collection.

Rich text format. For reference see https://editorjs.io/

CollectionCreateInput.backgroundImage ● Upload scalar miscellaneous

Background image file.

CollectionCreateInput.backgroundImageAlt ● String scalar miscellaneous

Alt text for an image.

CollectionCreateInput.seo ● SeoInput input miscellaneous

Search engine optimization fields.

CollectionCreateInput.publicationDate ● Date scalar miscellaneous

Publication date. ISO 8601 standard.

DEPRECATED: this field will be removed in Saleor 4.0.

CollectionCreateInput.metadata ● [MetadataInput!] list input miscellaneous

Fields required to update the collection metadata.

Added in Saleor 3.8

CollectionCreateInput.privateMetadata ● [MetadataInput!] list input miscellaneous

Fields required to update the collection private metadata.

Added in Saleor 3.8

CollectionCreateInput.products ● [ID!] list scalar miscellaneous

List of products to be added to the collection.

Member Of

collectionCreate mutation