ISitesApi sitesApi = client.SitesApi;
SitesApi
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()
Task<Models.ListSitesResponse>
try
{
ListSitesResponse result = await sitesApi.ListSitesAsync();
}
catch (ApiException e)
{
// TODO: Handle exception here
Console.WriteLine(e.Message);
}