# Remove a product from the Thomann cart

Automatically remove a product from the Thomann cart on thomann.de. Remove one line from your Thomann basket, whatever its quantity, and get the basket count and total in euros.

- Site: thomann.de
- Address: `reduck/thomann.de/remove_from_cart`
- Updated: 2026-12-01 (v1)
- Author: Reduck AI (reduck)

## About

Give it the line id and the check code from the List the items in the Thomann cart script. If the line changed since you read it, or is not in the basket, the removal is refused, so nothing else is removed. You get the line removed, its name and the units removed. No account is needed.

## Run it

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

```bash
npx @reduck-ai/cli@latest run --script reduck/thomann.de/remove_from_cart
```

## Input

- `line_id` (string, required): line_id of the line, from List the items in the Thomann cart.
- `review_hash` (string, required): review_hash of the same line, from List the items in the Thomann cart.

## Output

- `line_id` (string, required)
- `removed_quantity` (integer, required)
- `name` (string | null, optional)
- `currency` (string, optional)
- `cart_count` (integer, optional)
- `cart_subtotal` (number, optional)
- `article_number` (string, optional)

## FAQ

### What does "Remove a product from the Thomann cart" do?

Remove one line from the Thomann (thomann.de, Germany) basket of this browser, whatever its quantity, as the basket page's delete action does. Pass the line's line_id and review_hash from List the items in the Thomann cart: the removal is refused when the line changed since it was read (another quantity or price), and a line that is not in the basket is refused too, so nothing else is ever removed. Returns the line removed, its name, the units removed, and the basket's count and total in euros afterwards. Works as a guest, with no account.

### How do I automatically remove a product from the Thomann cart on thomann.de?

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

### Is there a thomann.de API to remove a product from the Thomann cart?

You do not need one. "Remove a product from the Thomann cart" drives the real thomann.de pages in a browser, so it works whether or not thomann.de offers an API for this.

### What information do I need to provide?

Required: line_id, review_hash.

### What does it return?

It returns name, line_id, currency, cart_count, cart_subtotal, article_number, removed_quantity.

### Do I need to be logged in to thomann.de?

No. It only uses pages of thomann.de that are reachable without signing in.

### Does it change anything on thomann.de, or only read data?

It makes changes on thomann.de, like sending, posting, booking or buying something.

### How do I run it?

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

### Who maintains it?

It is one of Reduck's official scripts.

Source: https://reduck.ai/explore/scripts/reduck/thomann.de/remove_from_cart
