Square: Sites schemas
2 Square schemas with complete fields and constraints.
← Sites operations · All schemas
List Sites — response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents a `ListSites` response. The response can include either `sites` or `errors`. |
errors | array | Optional | Any errors that occurred during the request. |
errors[] | Model | Each item | Expand Get Shift — response body — errors item |
sites | array | Optional | The sites that belong to the seller. |
sites[] | Model | Each item | Expand 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
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents a Square Online site, which is an online store for a Square seller. |
created_at | string | Optional | The timestamp of when the site was created, in RFC 3339 format. Read only: true |
domain | JSON | Optional | |
domain (anyOf 1) | string | Alternative | The domain of the site (without the protocol). For example, `mysite1.square.site`. |
domain (anyOf 2) | null | Alternative | |
id | string | Optional | The Square-assigned ID of the site. Maximum length: 32 Read only: true |
is_published | JSON | Optional | |
is_published (anyOf 1) | boolean | Alternative | Indicates whether the site is published. |
is_published (anyOf 2) | null | Alternative | |
site_title | JSON | Optional | |
site_title (anyOf 1) | string | Alternative | The title of the site. |
site_title (anyOf 2) | null | Alternative | |
updated_at | string | Optional | The timestamp of when the site was last updated, in RFC 3339 format. Read only: true |