Description Usage Arguments Value Examples
Make a call to the Inventory API
1 2 3 |
upc |
Either a single UPC or a vector of UPCs to return inventory for |
store_num |
Either a single store number or a vector of store numbers to return inventory for. Note Online inventory is given by 'JAX'. If you don't supply a store number or search paramters the function will return all store inventory. |
search_postal_code |
A string containing the postal code to search around |
search_radius |
A string providing the radius to search around the postal code |
search_radius_units |
A string specifying either miles or meters for the radius search |
api_key |
The key provided by IT to access this API. |
... |
additional arguments passed to POST |
A dataframe containing the requested UPC and stores or stores within your search radius. If no results exists, the return will be an empty list.
1 | ## Not run: callInvAPI(upc = sample_upc, store_num = sample_store, api_key = Sys.getenv('IBM_API_KEY'))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.