App Logo
store.google.com

Add to Google Store cart

TL;DR

Automatically add to Google Store cart on store.google.com. Add a Google Store US product to the cart, with the options you choose, and get the cart back.

About

Use it to prepare a Google Store order, for example a phone in a given color and storage. Take the option labels from Get Google Store product. If an option is missing, the run fails and lists the choices. It adds the product as a guest and keeps the lines already in the cart. Nothing is paid or ordered. No account is needed.

Inputs

product required

The product's slug (e.g. pixel_buds_2a) or a store.google.com product link.

options optional

Option labels to choose, one per panel, exactly as Get Google Store product lists them (e.g. ["Fog"]).

Output

sku required
slug required
count required
lines required
chosen required
cart_id optional
line_id optional
currency optional
subtotal optional
quantity_in_cart optional

FAQ

Add one unit of a Google Store US (store.google.com/us) product to the shopping cart from its buy page, choosing the options given (labels from Get Google Store product, e.g. "Fog", or "Obsidian", "256GB | 12GB RAM" and "Unlocked"), and return the cart afterwards: each line with its line id, SKU, name, quantity, line prices in US dollars and a review_hash, plus the item count and subtotal. A panel with a single option is chosen by itself; a panel left without a choice fails with an error that lists its options. Works as a guest: lines already in the cart stay. Nothing is paid or ordered.
Ask an AI agent connected to Reduck to run reduck/store.google.com/add_to_cart, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/store.google.com/add_to_cart
You do not need one. "Add to 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.
Required: product. Optional: options.
It returns sku, slug, count, lines, chosen, cart_id, line_id, currency, subtotal, quantity_in_cart.
No. It only uses pages of store.google.com that are reachable without signing in.
It makes changes on store.google.com, like sending, posting, booking or buying something.
Ask an AI agent connected to Reduck to run reduck/store.google.com/add_to_cart, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/store.google.com/add_to_cart
It is one of Reduck's official scripts.

Start building not clicking