App Logo

2,122 official scripts

Tested scripts for the sites people automate most, ready for your agent to run.

Results for “petco.com”
petco.com

Search Petco products

Search Petco (petco.com, US) products by keywords, 48 a page, in the order of the site. For each product: id, name, link, brand, rating, review count, lowest and highest price and the price before the sale in US dollars, image, and each size or flavor with its item number, name, link and price. Also gives the total count and the number of pages. A page past the last one gives an empty list. For keywords that match no product, Petco shows the products it finds closest. Use a managed browser in the US.

petco.com

Get Petco product

Get one Petco (petco.com, US) product from its id, the item number of one size, or its product page link: product id, link, name, brand, rating out of 5, review count, description, category path, and each size or flavor the page offers with its offerId (item number), name, options (for example weight), price, price before the sale and Repeat Delivery price in US dollars, stock text, units in stock, whether it can be ordered, and whether same day delivery and store pickup are offered. selected_offer_id is the size the link or number names, or the one the page selects. Pass offerId to Add a product to the Petco cart. An id, number or link that Petco does not know fails with a message that says so. Use a managed browser in the US.

petco.com

List the items in the Petco cart

List the items in the Petco (petco.com, US) cart of this browser, as the site holds it: for each line its line id, product id, offer id (the item number of the size), name, seller (always Petco), quantity, unit price and line price in US dollars, plus the number of units and the subtotal before shipping and tax. The cart is the guest cart of the browser, so no sign-in is needed. An empty cart returns an empty list, a zero count and a zero total. Use a managed browser with country US.

petco.com

Add a product to the Petco cart

Add a Petco (petco.com, US) product to the cart of this browser for shipping, and return the cart as the site holds it afterwards. Give the product id or link and, for a product with several sizes, the offerId (item number) of one size (both from Get Petco product), with a quantity from 1 to 10. Without offerId, the size that the link or item number names, or the one the page selects, is added. Returns the product id, offer id, name, whether the cart now holds the offer, and the cart: the number of units, the subtotal before shipping and tax, and each line with its line id, offer id, name, seller, quantity, unit price and line price in US dollars. Works as a guest, with no account: lines already in the cart stay and are listed too. Nothing is paid or ordered. An unknown product, an offerId of another product, an item that cannot be ordered, or a quantity above the units in stock fails with a message that says so, and adds nothing. Use a managed browser with country US.

petco.com

Remove a product from the Petco cart

Remove one line from the Petco (petco.com, US) cart of this browser and return the cart as the site holds it afterwards. Give the lineId of the line, from List the items in the Petco cart. Removes the line whatever its quantity. Returns removed (true when the line was removed, false when the cart has no such line, and then nothing is changed), the number of units, the subtotal before shipping and tax, and each line left with its line id, offer id, name, seller, quantity, unit price and line price in US dollars. Works as a guest, with no account. Use a managed browser with country US.