# Add to Wayfair cart

Automatically add to Wayfair cart on wayfair.com. Add a Wayfair.com product to the browser's guest cart, from its listing id (e.g. W005759455) or product page link, with the product's default options, and set its line to the quantity asked (1 to 10). Declines the protection plan Wayfair offers. Returns the cart after the add: the unit count, the item subtotal in USD and each line with its product id, name, seller, quantity, unit price and line price. Run it from a US browser (managed, region us-east-1), and list or remove in the same session. Never checks out.

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

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

## Input

- `product` (string, required): A Wayfair listing id (e.g. W005759455) or a wayfair.com product page link (/pdp/...).
- `quantity` (integer, optional): Number of units the cart line holds after the add, 1 to 10.

## Output

- `name` (string | null, required)
- `added` (integer, required): Units of the product in the cart after the add.
- `count` (integer, required): Units in the cart.
- `lines` (array, required)
- `total` (number | null, required): Item subtotal in USD, without tax or delivery.
- `offerId` (string | null, required)
- `productId` (string, required)

## FAQ

### What does "Add to Wayfair cart" do?

Add a Wayfair.com product to the browser's guest cart, from its listing id (e.g. W005759455) or product page link, with the product's default options, and set its line to the quantity asked (1 to 10). Declines the protection plan Wayfair offers. Returns the cart after the add: the unit count, the item subtotal in USD and each line with its product id, name, seller, quantity, unit price and line price. Run it from a US browser (managed, region us-east-1), and list or remove in the same session. Never checks out.

### How do I automatically add to Wayfair cart on wayfair.com?

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

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

You do not need one. "Add to 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. Optional: quantity.

### What does it return?

It returns name, added, count, lines, total, offerId, productId.

### 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/add_to_cart, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/wayfair.com/add_to_cart

### Who maintains it?

It is one of Reduck's official scripts.

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