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
Informs whether a collection is published.
CollectionCreateInput.name ● String scalar
Name of the collection.
CollectionCreateInput.slug ● String scalar
Slug of the collection.
CollectionCreateInput.description ● JSONString scalar
Description of the collection.
Rich text format. For reference see https://editorjs.io/
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.
DEPRECATED: this field will be removed in Saleor 4.0.
CollectionCreateInput.metadata ● [MetadataInput!] list input
Fields required to update the collection metadata.
Added in Saleor 3.8
CollectionCreateInput.privateMetadata ● [MetadataInput!] list input
Fields required to update the collection private metadata.
Added in Saleor 3.8
CollectionCreateInput.products ● [ID!] list scalar
List of products to be added to the collection.
Member of
collectionCreate mutation
Was this page helpful?