Theme API

Type

ThemeBlockDetails1

One block a shop's theme can use, and where the shop uses it.

Kind Type
Used in ListThemeBlocks1

Properties

  • name string required

    What a superblock lists to use the block, such as generic_banner_textimage_1.

  • kind string required

    The kind of block; settings saved under the kind apply to every block of that kind.

  • help string optional

    What the block is for, when it says.

  • is_widget boolean optional

    The block is a widget.

  • presets array of string optional

    Presets the block supports.

  • settings integer required

    How many settings the block itself defines.

  • usages array of ThemeBlockUsage1 optional

    Where the shop uses the block.

Previous
ShopStringUpdate1