action square_list_sites { label: "ListSites" description: "Lists the Square Online sites that belong to a seller.\n\n\n__Note:__ Square Online APIs are publicly available as part of an early access program. For more information, see [Early access program for Square Online APIs](https://developer.squareup.com/docs/online-api#early-access-program-for-square-online-apis)." provider: square method: GET path: "/v2/sites" encoding: json output: { type: "object" description: "Represents a `ListSites` response. The response can include either `sites` or `errors`." properties: { errors: { type: "array" description: "Any errors that occurred during the request." items: { type: "object" description: "Represents an error encountered during a request to the Connect API.\n\nSee [Handling errors](https://developer.squareup.com/docs/build-basics/handling-errors) for more information." required: ["category", "code"] properties: { category: { type: "string" description: "The high-level category for the error." } code: { type: "string" description: "The specific code of the error." } detail: { type: "string" description: "A human-readable description of the error for debugging purposes." } field: { type: "string" description: "The name of the field provided in the original request (if any) that\nthe error pertains to." } } } } sites: { type: "array" description: "The sites that belong to the seller." items: { type: "object" description: "Represents a Square Online site, which is an online store for a Square seller." properties: { created_at: { type: "string" description: "The timestamp of when the site was created, in RFC 3339 format." } domain: { type: "string" description: "The domain of the site (without the protocol). For example, `mysite1.square.site`." } id: { type: "string" description: "The Square-assigned ID of the site." } is_published: { type: "boolean" description: "Indicates whether the site is published." } site_title: { type: "string" description: "The title of the site." } updated_at: { type: "string" description: "The timestamp of when the site was last updated, in RFC 3339 format." } } } } } } }