CollectionCreateInput Input Type
No description
input CollectionCreateInput {
isPublished: Boolean
name: String
slug: String
description: JSONString
backgroundImage: Upload
backgroundImageAlt: String
seo: SeoInput
publicationDate: Date @deprecated
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
deprecated scalar miscellaneous
No longer supported
Publication date. ISO 8601 standard.
CollectionCreateInput.metadata
● [MetadataInput!]
list input miscellaneous
Fields required to update the collection metadata. Can be read by any API client authorized to read the object it's attached to.
Warning: never store sensitive information, including financial data such as credit card details.
CollectionCreateInput.privateMetadata
● [MetadataInput!]
list input miscellaneous
Fields required to update the collection private metadata. Requires permissions to modify and to read the metadata of the object it's attached to.
Warning: never store sensitive information, including financial data such as credit card details.
CollectionCreateInput.products
● [ID!]
list scalar miscellaneous
List of products to be added to the collection.
Member Of
collectionCreate
mutation