SitePage Object

Represents a page for a Square online site.

Properties

Name Type Description
id string Read only The Square-assigned ID of the page. You can get a page ID from the CreateSitePage response or by calling ListSitePages.
route string The page route.
name string The name of the page.
site_id string Read only The ID of the site.
properties string The properties of the page, represented as an escaped JSON string:

- layout. The layout file to use when rendering the page.
- template. The template to use for rendering the page content.
- route. The URL where the page can be viewed.
- props. A JSON object that supplies site data for the keys defined in the page template schema.
created_at string Read only The timestamp of when the page was created, in RFC 3339 format.
updated_at string Read only The timestamp of when the page was last updated, in RFC 3339 format.