SiteGlobalElement Object

Represents a global section or section container used on a Square Online site. Sections are reusable modules of content stored outside of a page template, such as a header or footer. Section containers are used to share chunks of UI (with customizable content) across a site. For more information, see Page Rendering with Templates.

Properties

Name Type Description
name string The name of the global element, which is used as the element’s identifier. To get the element name, call ListGlobalElements.
type string The type of global element, either SECTION or CONTAINER.
properties string The global element properties, as an escaped JSON string. This value represents the contents of the file.