sq_get_location: Get Location

Description Usage Arguments Details Value Examples

View source: R/locations.R

Description

Returns details for a single location.

Usage

1
sq_get_location(location, verbose = FALSE)

Arguments

location

character; the Square ID or name associated to a location. This must be an exact match to the ID or name as found using sq_list_locations.

verbose

logical; do you want informative messages?

Details

Required permissions: MERCHANT_PROFILE_READ

Value

tbl_df of a single location

Examples

1
2
3
4
5
6
7
8
## Not run: 
# retrieve details using the location id
this_location1 <- sq_get_location(location = "ThisIsATestLocationId")

# retrieve details using the location name
this_location2 <- sq_get_location(location = "My Store Name")

## End(Not run)

StevenMMortimer/squareupr documentation built on July 12, 2019, 1:45 a.m.