The properties and settings of a section.

📘

Tip

To learn about sections and using them in a theme, refer to Sections.

PropertiesTypeDescription
blocksan array of blockThe blocks of the section.
idstringThe ID of the section.

The ID for sections included through JSON templates is dynamically generated by Shoplazza.
settingsThe settings of the section.

To learn about how to access settings, refer to Access settings.
{
  "id": "1686734485738",
  "blocks": [],
  "settings": {
    "title": "Accessories list",
    "pc_per_row": 4,
    "md_per_row": 2,
    "spacing": {
      "pc": {
        "top": "40",
        "right": "",
        "bottom": "40",
        "left": ""
      },
      "mobile": {
        "top": "20",
        "right": "",
        "bottom": "20",
        "left": ""
      }
    }
  }
}