Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 805 Bytes

sites.md

File metadata and controls

39 lines (26 loc) · 805 Bytes

Sites

ISitesApi sitesApi = client.SitesApi;

Class Name

SitesApi

List Sites

Lists the Square Online sites that belong to a seller. Sites are listed in descending order by the created_at date.

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.

ListSitesAsync()

Response Type

Task<Models.ListSitesResponse>

Example Usage

try
{
    ListSitesResponse result = await sitesApi.ListSitesAsync();
}
catch (ApiException e)
{
    // TODO: Handle exception here
    Console.WriteLine(e.Message);
}