Lists the Square Online sites that belong to a seller.
Note: Square Online APIs are publicly available as part of an early access program. For more information, see .
643 matches
100 actions
Square Connect
100 actions
Other/Square Connect
Lists the Square Online sites that belong to a seller.
Note: Square Online APIs are publicly available as part of an early access program. For more information, see .
{
"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."
}
}
}
}
}
}