Skip to content

Square: Sites schemas

2 Square schemas with complete fields and constraints.

← Sites operations · All schemas

List Sites — response body

FieldTypePresenceDescription and constraints
$objectRootRepresents a `ListSites` response. The response can include either `sites` or `errors`.
errorsarrayOptionalAny errors that occurred during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item
sitesarrayOptionalThe sites that belong to the seller.
sites[]ModelEach itemExpand List Sites — response body — sites item

Referenced models: Get Shift — response body — errors item, List Sites — response body — sites item

List Sites — response body — sites item

FieldTypePresenceDescription and constraints
$objectRootRepresents a Square Online site, which is an online store for a Square seller.
created_atstringOptionalThe timestamp of when the site was created, in RFC 3339 format.
Read only: true
domainJSONOptional
domain (anyOf 1)stringAlternativeThe domain of the site (without the protocol). For example, `mysite1.square.site`.
domain (anyOf 2)nullAlternative
idstringOptionalThe Square-assigned ID of the site.
Maximum length: 32
Read only: true
is_publishedJSONOptional
is_published (anyOf 1)booleanAlternativeIndicates whether the site is published.
is_published (anyOf 2)nullAlternative
site_titleJSONOptional
site_title (anyOf 1)stringAlternativeThe title of the site.
site_title (anyOf 2)nullAlternative
updated_atstringOptionalThe timestamp of when the site was last updated, in RFC 3339 format.
Read only: true

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand how our website, product, and documentation are used.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

Advertising

Shares visits and sign-ups with Meta, Reddit, and X so we can measure which of our ads work.

You can change these choices at any time from Cookie settings.