# Add Truffaut product to cart

Automatically add Truffaut product to cart on truffaut.com. Add a product of the Truffaut French store (truffaut.com) to the shopping cart of this browser, from its product id or product page link, with a quantity from 1 to 10, as the product page's add to cart buttons do. Without an offer id it adds the first offer the page puts forward; pass an offer id from Get Truffaut product offers to buy from another marketplace seller. Returns the cart as the site holds it afterwards, in the shape List Truffaut cart items gives, plus the product id, offer id, name and units added. Works as a guest, with no account: lines already in the cart stay. A product the site does not know, an offer that is not on the product page, and an add the site refuses fail with an error that says so. Nothing is paid or ordered.

- Site: truffaut.com
- Address: `reduck/truffaut.com/add_to_cart`
- Updated: 2026-11-27 (v1)
- Author: Reduck AI (reduck)

## Run it

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

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

## Input

- `product` (string, required): Product id from Search Truffaut products (for example 4278064), or a product page link.
- `offerId` (string, optional): Offer id from Get Truffaut product offers. Leave it out to add the first offer of the page.
- `quantity` (integer, optional): How many units to add.

## Output

- `name` (string | null, required)
- `added` (integer, required): Units this run added.
- `count` (integer, required): Units in the cart.
- `lines` (array, required)
- `total` (number, required): Items total in euros, taxes included, delivery not included.
- `offerId` (string | null, required)
- `currency` (string, required)
- `productId` (string, required)

## FAQ

### What does "Add Truffaut product to cart" do?

Add a product of the Truffaut French store (truffaut.com) to the shopping cart of this browser, from its product id or product page link, with a quantity from 1 to 10, as the product page's add to cart buttons do. Without an offer id it adds the first offer the page puts forward; pass an offer id from Get Truffaut product offers to buy from another marketplace seller. Returns the cart as the site holds it afterwards, in the shape List Truffaut cart items gives, plus the product id, offer id, name and units added. Works as a guest, with no account: lines already in the cart stay. A product the site does not know, an offer that is not on the product page, and an add the site refuses fail with an error that says so. Nothing is paid or ordered.

### How do I automatically add Truffaut product to cart on truffaut.com?

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

### Is there a truffaut.com API to add Truffaut product to cart?

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

### What information do I need to provide?

Required: product. Optional: offerId, quantity.

### What does it return?

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

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

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

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

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

### How do I run it?

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

### Who maintains it?

It is one of Reduck's official scripts.

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