sq_delete_item: Delete Item

Description Usage Arguments Details Value Examples

View source: R/items.R

Description

Deletes an existing item and all item variations associated with it.

Usage

1
sq_delete_item(location, item_id, 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.

item_id

character; the Square ID assigned to each unique item. This can be found using sq_list_items

verbose

logical; do you want informative messages?

Details

Required permissions: ITEMS_WRITE

Value

tbl_df of a single item

Examples

1
2
3
4
## Not run: 
sq_delete_item(item_id="ThisIsATestItemId")

## End(Not run)

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