Skip to content

Latest commit

 

History

History
76 lines (50 loc) · 1.45 KB

v1-locations.md

File metadata and controls

76 lines (50 loc) · 1.45 KB

V1 Locations

IV1LocationsApi v1LocationsApi = client.V1LocationsApi;

Class Name

V1LocationsApi

Methods

Retrieve Business

Get the general information for a business.



RetrieveBusinessAsync()

Response Type

Task<Models.V1Merchant>

Example Usage

try
{
    V1Merchant result = await v1LocationsApi.RetrieveBusinessAsync();
}
catch (ApiException e){};

List Locations

Provides details for all business locations associated with a Square account, including the Square-assigned object ID for the location.



ListLocationsAsync()

Response Type

Task<List<Models.V1Merchant>>

Example Usage

try
{
    List<V1Merchant> result = await v1LocationsApi.ListLocationsAsync();
}
catch (ApiException e){};