Skip to content

Latest commit

 

History

History
41 lines (32 loc) · 983 Bytes

list-sites-response.md

File metadata and controls

41 lines (32 loc) · 983 Bytes

List Sites Response

Represents a ListSites response. The response can include either sites or errors.

Structure

List Sites Response

Fields

Name Type Tags Description
errors List of Error Optional Any errors that occurred during the request.
sites List of Site Optional The sites that belong to the seller.

Example (as JSON)

{
  "sites": [
    {
      "created_at": "2020-02-28T13:22:51Z",
      "domain": "mysite1.square.site",
      "id": "site_278075276488921835",
      "is_published": true,
      "site_title": "My First Site",
      "updated_at": "2021-01-13T09:58:32Z"
    },
    {
      "created_at": "2020-06-18T17:45:13Z",
      "domain": "mysite2.square.site",
      "id": "site_102725345836253849",
      "is_published": true,
      "site_title": "My Second Site",
      "updated_at": "2020-11-23T02:19:10Z"
    }
  ]
}