Site Object

Represents a Square Online site, which is an online store for a Square seller.

Properties

Name Type Description
id string Read only The Square-assigned ID of the site. To get a site ID, call ListSites.
site_title string The title of the site.
domain string The domain of the site (without the protocol). For example, mysite1.square.site.
is_published boolean Read only Indicates whether the site is published.
created_at string Read only The timestamp of when the site was created, in RFC 3339 format.
updated_at string Read only The timestamp of when the site was last updated, in RFC 3339 format.
site_theme_id string The ID of the site’s custom theme. This field (alpha) is present only if a custom theme is installed on the site. This field is populated when the CreateTheme endpoint is called to initialize a theme for the site.

The Sites API cannot be used to create a site or update its metadata directly.