# Add a product to the Darty cart

Automatically add a product to the Darty cart on darty.com. Add a Darty France product to the cart of this browser, from Darty or a marketplace seller, and get the cart afterwards.

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

## About

Give it the product id or link, and the offer id from the Get Darty product offers script for a seller's offer. Without an offer id it adds Darty's own offer. It adds the item as you; adding an offer that is already in the cart raises its quantity. 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/darty.com/add_to_cart`, or run it from a terminal:

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

## Input

- `product` (string, required): The Darty product id (e.g. 8194050) or its darty.com product link.
- `offer_id` (string, optional): offer_id of a marketplace seller's offer, from Get Darty product offers. Leave it out for Darty's own offer.
- `quantity` (integer, optional): Units to add, 1 to 10.

## Output

- `cart` (object, required)
- `added` (object, required)
- `product_id` (string, required)

## FAQ

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

Add a Darty.com (France) product to the cart of this browser, as a guest, from Darty itself or from one marketplace seller. Pass the product id or link and, for a seller's offer, its offer_id from Get Darty product offers; without offer_id Darty's own offer is added, and a product Darty does not sell itself fails with a message listing the sellers' offer ids. Adding an offer already in the cart raises its quantity. Returns the line added (line id, offer id, seller, quantity, unit and line price in euros) and the cart afterwards, with each line's review_hash for Remove a product from the Darty cart. An unknown product, an unknown offer_id, or a refusal by Darty (for example a quantity it does not sell) fails with a message that says so and adds nothing. Nothing is paid or ordered.

### How do I automatically add a product to the Darty cart on darty.com?

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

### Is there a darty.com API to add a product to the Darty cart?

You do not need one. "Add a product to the Darty cart" drives the real darty.com pages in a browser, so it works whether or not darty.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, added, product_id.

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

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

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

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

### How do I run it?

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

### Who maintains it?

It is one of Reduck's official scripts.

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