# Remove from Wayfair cart

Automatically remove from Wayfair cart on wayfair.com. Remove a product from the browser's Wayfair.com guest cart, whatever its quantity, by its listing id (e.g. W005759455, as list_cart_items returns it). Returns removed and the cart after: the unit count, the item subtotal in USD and each line with its product id, name, seller, quantity, unit price and line price. A product that is not in the cart gives removed false and the cart unchanged, not an error. Run it in the browser that holds the cart (a managed session in region us-east-1).

- Site: wayfair.com
- Address: `reduck/wayfair.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/wayfair.com/remove_from_cart`, or run it from a terminal:

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

## Input

- `product_id` (string, required): Wayfair listing id of the cart line (e.g. W005759455, the productId list_cart_items returns). The whole line goes, whatever its quantity.

## Output

- `count` (integer, required)
- `lines` (array, required)
- `total` (number | null, required)
- `removed` (boolean, required): False when the cart held no line of that product.

## FAQ

### What does "Remove from Wayfair cart" do?

Remove a product from the browser's Wayfair.com guest cart, whatever its quantity, by its listing id (e.g. W005759455, as list_cart_items returns it). Returns removed and the cart after: the unit count, the item subtotal in USD and each line with its product id, name, seller, quantity, unit price and line price. A product that is not in the cart gives removed false and the cart unchanged, not an error. Run it in the browser that holds the cart (a managed session in region us-east-1).

### How do I automatically remove from Wayfair cart on wayfair.com?

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

### Is there a wayfair.com API to remove from Wayfair cart?

You do not need one. "Remove from Wayfair cart" drives the real wayfair.com pages in a browser, so it works whether or not wayfair.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 wayfair.com?

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

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

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

### How do I run it?

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

### Who maintains it?

It is one of Reduck's official scripts.

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