# Remove from Google Store cart

Automatically remove from Google Store cart on store.google.com. Remove one line from your Google Store US cart and see what is left.

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

## About

It removes the whole line, whatever its quantity. It first checks that the line is still the one you reviewed with List Google Store cart items. If the line changed or is not in the cart, nothing is removed and the run fails. No account is needed.

## Run it

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

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

## Input

- `line_id` (string, required): The line_id of the line, from List Google Store cart items.
- `review_hash` (string, required): The review_hash of that line, from List Google Store cart items.

## Output

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

## FAQ

### What does "Remove from Google Store cart" do?

Remove one line from the Google Store US (store.google.com/us) shopping cart of this browser, whatever its quantity, with the line's own remove button, by its line id and the review_hash that List Google Store cart items gives for it, and return what is left. The review_hash makes sure the line is still the one that was reviewed (same SKU, quantity and price): when it changed, or the line is not in the cart, nothing is removed and the run fails with an error.

### How do I automatically remove from Google Store cart on store.google.com?

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

### Is there a store.google.com API to remove from Google Store cart?

You do not need one. "Remove from Google Store cart" drives the real store.google.com pages in a browser, so it works whether or not store.google.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, cart_id, removed, currency, subtotal.

### Do I need to be logged in to store.google.com?

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

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

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

### How do I run it?

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

### Who maintains it?

It is one of Reduck's official scripts.

Source: https://reduck.ai/explore/scripts/reduck/store.google.com/remove_from_cart
