INPUT_OBJECT

CollectionCreateInput

link GraphQL Schema definition

  • input CollectionCreateInput {
  • # Informs whether a collection is published.
  • isPublished: Boolean
  • # Name of the collection.
  • name: String
  • # Slug of the collection.
  • slug: String
  • # Description of the collection (HTML/text).
  • description: String
  • # Description of the collection (JSON).
  • descriptionJson: JSONString
  • # Background image file.
  • backgroundImage: Upload
  • # Alt text for an image.
  • backgroundImageAlt: String
  • # Search engine optimization fields.
  • seo: SeoInput
  • # Publication date. ISO 8601 standard.
  • publicationDate: Date
  • # List of products to be added to the collection.
  • products: [ID]
  • }

link Require by