# Add to Ray-Ban bag

Automatically add to Ray-Ban bag on ray-ban.com. Add a Ray-Ban US product to your shopping bag and see the bag afterwards, with prices in US dollars.

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

## About

Use it to fill a Ray-Ban bag for a later checkout. It adds 1 to 5 units, as a guest, and lists every line of the bag with the item count and total. A product that is out of stock or not yet available fails with an error. 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/ray-ban.com/add_to_cart`, or run it from a terminal:

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

## Input

- `product` (string, required): Ray-Ban product number (the product_id of Search Ray-Ban products) or a ray-ban.com product link.
- `quantity` (integer, optional): How many to add, 1 to 5.

## Output

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

## FAQ

### What does "Add to Ray-Ban bag" do?

Add a Ray-Ban US (ray-ban.com/usa) product to the shopping bag by its product number or product link, with an optional quantity from 1 to 5, and return the bag afterwards: each line with its line id, product number, name, quantity, prices in US dollars and a review_hash, plus the item count and total. Works as a guest: lines already in the bag stay and are listed too. Nothing is paid or ordered. A product that cannot be added (out of stock, coming soon) or an unknown product number fails with an error.

### How do I automatically add to Ray-Ban bag on ray-ban.com?

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

### Is there a ray-ban.com API to add to Ray-Ban bag?

You do not need one. "Add to Ray-Ban bag" drives the real ray-ban.com pages in a browser, so it works whether or not ray-ban.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, product_id, quantity_in_bag.

### Do I need to be logged in to ray-ban.com?

No. It only uses pages of ray-ban.com that are reachable without signing in.

### Does it change anything on ray-ban.com, or only read data?

It makes changes on ray-ban.com, like sending, posting, booking or buying something.

### How do I run it?

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

### Who maintains it?

It is one of Reduck's official scripts.

Source: https://reduck.ai/explore/scripts/reduck/ray-ban.com/add_to_cart
