# Add to MaxiCoffee cart

Automatically add to MaxiCoffee cart on maxicoffee.com. Add a MaxiCoffee product to your cart, and get the cart with its lines and total in euros.

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

## About

Give a product id or link and a quantity from 1 to 10. It adds the product to the cart of this browser, and the lines already in the cart stay. Nothing is paid or ordered. If the store refuses the product, for example out of stock, the run fails with the store's message. No account is needed.

## Run it

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

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

## Input

- `product` (string, required): MaxiCoffee product id (e.g. 2607) or a maxicoffee.com product link.
- `quantity` (integer, optional): How many to add, 1 to 10.

## Output

- `count` (integer, required)
- `lines` (array, required)
- `line_id` (string, required)
- `product_id` (string, required)
- `quantity_in_cart` (integer, required)
- `total` (number | null, optional)
- `currency` (string, optional)
- `subtotal` (string | null, optional)

## FAQ

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

Add a MaxiCoffee France (maxicoffee.com) product to the shopping cart by its id or product link, with an optional quantity from 1 to 10, with the store's own add-to-cart call, and return the cart afterwards: each line with its line id, product id, name, quantity, prices in euros and a review_hash, plus the item count and total. Works as a guest: lines already in the cart stay. Nothing is paid or ordered. A product the store refuses (unknown, out of stock) fails with the store's own message.

### How do I automatically add to MaxiCoffee cart on maxicoffee.com?

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

### Is there a maxicoffee.com API to add to MaxiCoffee cart?

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

### What information do I need to provide?

Required: product. Optional: quantity.

### What does it return?

It returns count, lines, total, line_id, currency, subtotal, product_id, quantity_in_cart.

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

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

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

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

### How do I run it?

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

### Who maintains it?

It is one of Reduck's official scripts.

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