ContentBlockInput

(INPUT_OBJECT)

General input for defining a page block. Depending on the block type, the data must be provided in the corresponding '{type}Block' field.

link GraphQL Schema definition

  • input ContentBlockInput {
  • # internal string type identificator of block
  • type: ContentBlockTypeInput!
  • # required for block type "text"
  • textBlock: TextBlockInput
  • # required for block type "title"
  • titleBlock: TitleBlockInput
  • # list of internal product IDs. Required for block type "productfrom"
  • productfromBlock: [ID!]
  • # list of posts. Required for block type "news"
  • newsBlock: [NewsPostInput!]
  • }