IV1LocationsApi v1LocationsApi = client.V1LocationsApi;
V1LocationsApi
Get the general information for a business.
- Deprecation date: 2019-11-20
- Retirement date: 2020-11-18
- Migration guide
RetrieveBusinessAsync()
try
{
V1Merchant result = await v1LocationsApi.RetrieveBusinessAsync();
}
catch (ApiException e){};
Provides details for all business locations associated with a Square account, including the Square-assigned object ID for the location.
- Deprecation date: 2019-11-20
- Retirement date: 2020-11-18
- Migration guide
ListLocationsAsync()
try
{
List<V1Merchant> result = await v1LocationsApi.ListLocationsAsync();
}
catch (ApiException e){};