# Add a product to the Woodbrass cart

Automatically add a product to the Woodbrass cart on woodbrass.com. Add a Woodbrass product to your cart, with the variant and quantity you choose, and see the cart afterwards.

- Site: woodbrass.com
- Address: `reduck/woodbrass.com/add_to_cart`
- Updated: 2026-12-01 (v1)
- Author: Reduck AI (reduck)

## About

Use it to fill a Woodbrass cart for a later checkout. It adds 1 to 10 units, as a guest, and returns the line and the cart with prices in euros. A sold-out product or a missing variant choice fails with a message and adds nothing. Nothing is paid or ordered. No account is needed.

## Run it

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

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

## Input

- `product` (string, required): The product handle or its woodbrass.com/products link.
- `offer_id` (string, optional): offer_id of the variant, from Get Woodbrass product. Can be left out for a product with a single variant.
- `quantity` (integer, optional): Units to add, 1 to 10.

## Output

- `cart` (object, required)
- `handle` (string, required)
- `offer_id` (string, required)
- `quantity_added` (integer, required)
- `name` (string | null, optional)
- `line_id` (string | null, optional)
- `variant` (string | null, optional)
- `line_price` (number | null, optional)
- `unit_price` (number | null, optional)
- `quantity_in_cart` (integer, optional)

## FAQ

### What does "Add a product to the Woodbrass cart" do?

Add a Woodbrass (woodbrass.com, France) product to the cart of this browser, as a guest. Pass the product handle or link and, for a product with several variants, the offer_id of the variant from Get Woodbrass product, and a quantity from 1 to 10. Adding a variant already in the cart raises its quantity. Returns the line (line id, variant, quantity, unit and line price in euros) and the cart afterwards, with each line's review_hash for Remove a product from the Woodbrass cart. An unknown product, an offer_id of another product, a missing offer_id on a product with several variants, or Woodbrass's refusal (sold out, not enough stock) fails with a message that says so and adds nothing. Nothing is paid or ordered.

### How do I automatically add a product to the Woodbrass cart on woodbrass.com?

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

### Is there a woodbrass.com API to add a product to the Woodbrass cart?

You do not need one. "Add a product to the Woodbrass cart" drives the real woodbrass.com pages in a browser, so it works whether or not woodbrass.com offers an API for this.

### What information do I need to provide?

Required: product. Optional: offer_id, quantity.

### What does it return?

It returns cart, name, handle, line_id, variant, offer_id, line_price, unit_price, quantity_added, quantity_in_cart.

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

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

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

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

### How do I run it?

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

### Who maintains it?

It is one of Reduck's official scripts.

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