2,339 official scripts
Tested scripts for the sites people automate most, ready for your agent to run.
Search Garmin products
Search the Garmin US store (garmin.com/en-US) by keywords, 12 products a page, in the site's own order: for each product its part number (pass it to Get Garmin product or Add to Garmin cart), product id, name, variation, short description, type, link, image, and its current price and struck-through price in US dollars when Garmin sells it online, plus the total number of results and whether another page follows. A search with no match, or a page after the last, gives an empty list.
Get Garmin product
Get one product of the Garmin US store (garmin.com/en-US) by its part number, product id or product link: name, the selected part number and its variation, link, current price and struck-through price in US dollars, whether it can be added to the cart, the shipping note, the images, the category path, and every variation of the product (part number, variation name, price, whether it can be added) so another can be picked. An unknown part number or product id fails with an error that says so.
List Garmin cart items
List the items in the Garmin US (buy.garmin.com) shopping cart of this browser: for each line its line id, part number, product id, name, variation, quantity, unit price, struck-through price and line price in US dollars, link, image and a review_hash (pass it to Remove from Garmin cart), plus the item count and subtotal. It is the browser's guest cart: no sign-in. An empty cart gives an empty list.
Add to Garmin cart
Add a Garmin US product to the shopping cart (buy.garmin.com) by its part number or product link, with an optional quantity from 1 to 5, and return the cart afterwards: each line with its line id, part number, name, variation, quantity, prices in US dollars and a review_hash, plus the item count and subtotal. A product id or a link without a part number adds the page's selected variation. Works as a guest: lines already in the cart stay. Nothing is paid or ordered. A part number Garmin does not sell online, or an unknown one, fails with an error.
Remove from Garmin cart
Remove one line from the Garmin US (buy.garmin.com) shopping cart of this browser, whatever its quantity, by its line id and the review_hash that List Garmin cart items gives for it, and return what is left. The review_hash makes sure the line is still the one that was reviewed (same part number, quantity and price): when it changed, or the line is not in the cart, nothing is removed and the run fails with an error.
