# Remove from Ray-Ban bag

Automatically remove from Ray-Ban bag on ray-ban.com. Remove one line from your Ray-Ban US shopping bag and see what is left.

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

## About

Use it to clean up the bag before checkout. It removes the whole line, whatever its quantity. If the line changed since you listed the bag, or is not in the bag, it removes nothing and fails with an error. It acts on the bag of this browser. 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/remove_from_cart`, or run it from a terminal:

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

## Input

- `line_id` (string, required): The line_id of the line, from List Ray-Ban bag items.
- `review_hash` (string, required): The review_hash of that line, from List Ray-Ban bag items.

## Output

- `count` (integer, required)
- `lines` (array, required)
- `total` (number | null, required)
- `removed` (boolean, required)
- `currency` (string, optional)

## FAQ

### What does "Remove from Ray-Ban bag" do?

Remove one line from the Ray-Ban US (ray-ban.com/usa) shopping bag of this browser, whatever its quantity, by its line id and the review_hash that List Ray-Ban bag items gives for it, and return what is left in the bag. The review_hash makes sure the line is still the one that was reviewed (same product, quantity and price): when it changed, or the line is not in the bag, nothing is removed and the run fails with an error.

### How do I automatically remove from Ray-Ban bag on ray-ban.com?

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

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

You do not need one. "Remove from 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: line_id, review_hash.

### What does it return?

It returns count, lines, total, removed, currency.

### 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/remove_from_cart, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/ray-ban.com/remove_from_cart

### Who maintains it?

It is one of Reduck's official scripts.

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