# Add Zara product to cart

Automatically add Zara product to cart on zara.com. Add one size of a Zara France (zara.com/fr) product to the cart of this browser, with a quantity from 1 to 10. Give the product id or link and the offerId of the size from Get Zara product. Returns the cart after the add (each line, the number of units and the total in euros) with the product id, offerId, name and number of units added. A size that is out of stock, or an offerId that is not on the product, gives an error with the sizes of the product. Works without sign-in: the cart stays with the browser, and lines already in it stay. Nothing is paid or ordered.

- Site: zara.com
- Address: `reduck/zara.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/zara.com/add_to_cart`, or run it from a terminal:

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

## Input

- `offerId` (string, required): Id of the size to add (offerId of a size in Get Zara product).
- `product` (string, required): Product id or product page link, from Search Zara products or Get Zara product.
- `quantity` (integer, optional): Number of units to add, 1 to 10.

## Output

- `name` (string | null, required)
- `added` (integer, required): Number of units added.
- `count` (integer, required): Number of units in the cart.
- `lines` (array, required)
- `total` (number | null, required): Total of the cart, in euros.
- `offerId` (string, required)
- `currency` (string, required): Currency of the amounts, as an ISO code (euro).
- `productId` (string, required)

## FAQ

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

Add one size of a Zara France (zara.com/fr) product to the cart of this browser, with a quantity from 1 to 10. Give the product id or link and the offerId of the size from Get Zara product. Returns the cart after the add (each line, the number of units and the total in euros) with the product id, offerId, name and number of units added. A size that is out of stock, or an offerId that is not on the product, gives an error with the sizes of the product. Works without sign-in: the cart stays with the browser, and lines already in it stay. Nothing is paid or ordered.

### How do I automatically add Zara product to cart on zara.com?

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

### Is there a zara.com API to add Zara product to cart?

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

### What information do I need to provide?

Required: product, offerId. Optional: quantity.

### What does it return?

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

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

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

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

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

### How do I run it?

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

### Who maintains it?

It is one of Reduck's official scripts.

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