Description Usage Arguments Details Value Examples
Returns details for a single location.
1 | sq_get_location(location, verbose = FALSE)
|
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? |
Required permissions: MERCHANT_PROFILE_READ
tbl_df
of a single location
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.