Description Usage Arguments Details Value Examples
Lists all of a location's discounts.
1 | sq_list_discounts(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: ITEMS_READ
tbl_df
of discounts
1 2 3 4 | ## Not run:
my_discounts <- sq_list_discounts(location)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.