Skip to main content
Glama
block.md1.17 kB
# Block ## Description This object represents the content and settings of a section block, which are reusable modules that comprise page templates. Shopify allows a maximum of 50 blocks within a section. ## Properties ### id **Type:** string The unique identifier assigned to the block. Shopify generates this dynamically and may change it over time, so avoid hardcoding specific ID values. ### settings **Type:** object Configuration values for the block. Access these through the block's schema definition. Different input types can be applied to settings properties. ### shopify_attributes **Type:** string Data attributes used by the theme editor for block identification and event handling. This value is only available within the theme editor environment. ### type **Type:** string A freely-defined string indicating the block's category, established in its schema. Use this as an identifier to conditionally render different markup based on block classification. ## Example ```json { "id": "column1", "settings": "array", "shopify_attributes": "data-shopify-editor-block=\"{\"id\":\"column1\",\"type\":\"column\"}\"", "type": "column" } ```

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/florinel-chis/shopify-liquid-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server