App Logo
petco.com

Remove a product from the Petco cart

Automatically remove a product from the Petco cart on petco.com. 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.

Inputs

lineId required

Id of the line to remove, from List the items in the Petco cart.

Output

count required

Number of units in the cart.

lines required
total required

Subtotal in US dollars, before shipping and tax.

removed required

True when lines were removed; false when no line matched.

FAQ

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.
Ask an AI agent connected to Reduck to run reduck/petco.com/remove_from_cart, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/petco.com/remove_from_cart
You do not need one. "Remove a product from the Petco cart" drives the real petco.com pages in a browser, so it works whether or not petco.com offers an API for this.
Required: lineId.
It returns count, lines, total, removed.
No. It only uses pages of petco.com that are reachable without signing in.
It makes changes on petco.com, like sending, posting, booking or buying something.
Ask an AI agent connected to Reduck to run reduck/petco.com/remove_from_cart, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/petco.com/remove_from_cart
It is one of Reduck's official scripts.

Start building not clicking