# Remove a product from the Vitacost cart

Automatically remove a product from the Vitacost cart on vitacost.com. Remove a product from the vitacost.com cart of this browser, whatever its quantity, from its id, Vitacost item number or product page link. A product that is not in the cart leaves the cart as it is and returns removed false.

- Site: vitacost.com
- Address: `reduck/vitacost.com/remove_from_cart`
- Updated: 2026-11-25 (v1)
- Author: Reduck AI (reduck)

## Run it

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

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

## Input

- `product_id` (string, required): Product id (productId from list_cart_items), variant id, Vitacost item number, or a vitacost.com product page link.

## Output

- `count` (integer, required)
- `lines` (array, required)
- `total` (number | null, required): Item subtotal after the store's automatic discounts, without tax or shipping.
- `removed` (boolean, required)

## FAQ

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

Remove a product from the vitacost.com cart of this browser, whatever its quantity, from its id, Vitacost item number or product page link. A product that is not in the cart leaves the cart as it is and returns removed false.

### How do I automatically remove a product from the Vitacost cart on vitacost.com?

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

### Is there a vitacost.com API to remove a product from the Vitacost cart?

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

### What information do I need to provide?

Required: product_id.

### What does it return?

It returns count, lines, total, removed.

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

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

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

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

### How do I run it?

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

### Who maintains it?

It is one of Reduck's official scripts.

Source: https://reduck.ai/explore/scripts/reduck/vitacost.com/remove_from_cart
