Skip to main content
Version: 3.x

CollectionInput

No description

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

Fields

CollectionInput.isPublished ● Boolean scalar

Informs whether a collection is published.

CollectionInput.name ● String scalar

Name of the collection.

CollectionInput.slug ● String scalar

Slug of the collection.

CollectionInput.description ● JSONString scalar

Description of the collection.

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

CollectionInput.backgroundImage ● Upload scalar

Background image file.

CollectionInput.backgroundImageAlt ● String scalar

Alt text for an image.

CollectionInput.seo ● SeoInput input

Search engine optimization fields.

CollectionInput.publicationDate ● Date scalar

Publication date. ISO 8601 standard.

DEPRECATED: this field will be removed in Saleor 4.0.

CollectionInput.metadata ● [MetadataInput!] list input

Fields required to update the collection metadata.

Added in Saleor 3.8

CollectionInput.privateMetadata ● [MetadataInput!] list input

Fields required to update the collection private metadata.

Added in Saleor 3.8

Member of

collectionUpdate mutation


Was this page helpful?