# Add a product to the Zalando cart

Automatically add a product to the Zalando cart on zalando.fr. Add one size of a product to the Zalando France (zalando.fr) cart of this browser, with a quantity. Give the product id and the size id (offerId) from Get Zalando product. To buy from one seller when several sell the size, give the seller id from Get Zalando product offers; else the offer the site shows first is used. Returns the product id, size id, name and whether it was added, then the whole cart: each line with its product id, size id, seller, quantity, unit price and line price in euros, the number of items and the total. The cart is the guest cart of the browser, so no sign-in is needed. An unknown product, a missing or unknown size, a size out of stock or a quantity below 1 fails with a message that says so, and nothing is added. Never checks out.

- Site: zalando.fr
- Address: `reduck/zalando.fr/add_to_cart`
- Updated: 2026-11-26 (v1)
- Author: Reduck AI (reduck)

## Run it

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

```bash
npx @reduck-ai/cli@latest run --script reduck/zalando.fr/add_to_cart
```

## Input

- `product` (string, required): The Zalando product id (such as VE121C21O-O11), a size id, or a zalando.fr product link.
- `offerId` (string, optional): The size id (such as VE121C21O-O11000S000) from Get Zalando product. Needed unless product is already a size id.
- `quantity` (integer, optional): How many to add, 1 or more.
- `sellerId` (string, optional): The seller id from Get Zalando product offers, to buy from that seller.

## Output

- `name` (string | null, required)
- `added` (boolean, required)
- `count` (integer, required)
- `lines` (array, required)
- `total` (number | null, required)
- `seller` (string | null, required)
- `offerId` (string, required)
- `currency` (string, required)
- `productId` (string, required)

## FAQ

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

Add one size of a product to the Zalando France (zalando.fr) cart of this browser, with a quantity. Give the product id and the size id (offerId) from Get Zalando product. To buy from one seller when several sell the size, give the seller id from Get Zalando product offers; else the offer the site shows first is used. Returns the product id, size id, name and whether it was added, then the whole cart: each line with its product id, size id, seller, quantity, unit price and line price in euros, the number of items and the total. The cart is the guest cart of the browser, so no sign-in is needed. An unknown product, a missing or unknown size, a size out of stock or a quantity below 1 fails with a message that says so, and nothing is added. Never checks out.

### How do I automatically add a product to the Zalando cart on zalando.fr?

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

### Is there a zalando.fr API to add a product to the Zalando cart?

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

### What information do I need to provide?

Required: product. Optional: offerId, quantity, sellerId.

### What does it return?

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

### Do I need to be logged in to zalando.fr?

No. It only uses pages of zalando.fr that are reachable without signing in.

### Does it change anything on zalando.fr, or only read data?

It makes changes on zalando.fr, like sending, posting, booking or buying something.

### How do I run it?

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

### Who maintains it?

It is one of Reduck's official scripts.

Source: https://reduck.ai/explore/scripts/reduck/zalando.fr/add_to_cart
