Skip to main content

CollectionInput Input Type

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 miscellaneous

Informs whether a collection is published.

CollectionInput.name ● String scalar miscellaneous

Name of the collection.

CollectionInput.slug ● String scalar miscellaneous

Slug of the collection.

CollectionInput.description ● JSONString scalar miscellaneous

Description of the collection.

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

CollectionInput.backgroundImage ● Upload scalar miscellaneous

Background image file.

CollectionInput.backgroundImageAlt ● String scalar miscellaneous

Alt text for an image.

CollectionInput.seo ● SeoInput input miscellaneous

Search engine optimization fields.

CollectionInput.publicationDate ● Date scalar miscellaneous

Publication date. ISO 8601 standard.

DEPRECATED: this field will be removed in Saleor 4.0.

CollectionInput.metadata ● [MetadataInput!] list input miscellaneous

Fields required to update the collection metadata.

CollectionInput.privateMetadata ● [MetadataInput!] list input miscellaneous

Fields required to update the collection private metadata.

Member Of

collectionUpdate mutation