# Remove a product from the Staples cart

Automatically remove a product from the Staples cart on staples.com. Remove a product from the Staples cart, whatever its quantity. Returns the cart after the removal; removed is false and the cart unchanged when the product is not in the cart.

- Site: staples.com
- Address: `reduck/staples.com/remove_from_cart`
- Updated: 2026-11-25 (v1)
- Author: Reduck AI (reduck)

## Run it

Ask an AI agent connected to Reduck over MCP (`https://mcp.reduck.ai/mcp`) to run `reduck/staples.com/remove_from_cart`, or run it from a terminal:

```bash
npx @reduck-ai/cli@latest run --script reduck/staples.com/remove_from_cart
```

## Input

- `product_id` (string, required): Staples item number (e.g. 2599373) or product page link of the product to remove.

## Output

- `count` (integer, optional): Units in the cart.
- `lines` (array, optional)
- `total` (number | null, optional): Item subtotal, without tax or shipping.
- `removed` (boolean, optional)

## FAQ

### What does "Remove a product from the Staples cart" do?

Remove a product from the Staples cart, whatever its quantity. Returns the cart after the removal; removed is false and the cart unchanged when the product is not in the cart.

### How do I automatically remove a product from the Staples cart on staples.com?

Ask an AI agent connected to Reduck to run reduck/staples.com/remove_from_cart, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/staples.com/remove_from_cart

### Is there a staples.com API to remove a product from the Staples cart?

You do not need one. "Remove a product from the Staples cart" drives the real staples.com pages in a browser, so it works whether or not staples.com offers an API for this.

### What information do I need to provide?

Required: product_id.

### What does it return?

It returns count, lines, total, removed.

### Do I need to be logged in to staples.com?

No. It only uses pages of staples.com that are reachable without signing in.

### Does it change anything on staples.com, or only read data?

It makes changes on staples.com, like sending, posting, booking or buying something.

### How do I run it?

Ask an AI agent connected to Reduck to run reduck/staples.com/remove_from_cart, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/staples.com/remove_from_cart

### Who maintains it?

It is one of Reduck's official scripts.

Source: https://reduck.ai/explore/scripts/reduck/staples.com/remove_from_cart
