App Logo
johnlewis.com

Remove John Lewis product from basket

Automatically remove John Lewis product from basket on johnlewis.com. Remove a product from the John Lewis UK store (johnlewis.com) basket of this browser by its product id (the sku id, as returned by List John Lewis basket items), whatever its quantity, and return what is left in the basket: each line with its line id, product id, offer id, name with the brand, seller, quantity, unit price and line price, plus the item count, the basket total and the currency (GBP). A product that is not in the basket is reported with removed false and the basket unchanged, not as a failure. Works as a guest, with no account.

Inputs

product_id required

Sku id of the line to remove: productId of List John Lewis basket items or Add John Lewis product to basket.

Output

count required

Number of units left in the basket.

lines required
total required

Basket subtotal before delivery, in pounds sterling.

removed required

True when the product was in the basket and is gone now; false when it was not in the basket.

currency required

GBP

FAQ

Remove a product from the John Lewis UK store (johnlewis.com) basket of this browser by its product id (the sku id, as returned by List John Lewis basket items), whatever its quantity, and return what is left in the basket: each line with its line id, product id, offer id, name with the brand, seller, quantity, unit price and line price, plus the item count, the basket total and the currency (GBP). A product that is not in the basket is reported with removed false and the basket unchanged, not as a failure. Works as a guest, with no account.
Ask an AI agent connected to Reduck to run reduck/johnlewis.com/remove_from_cart, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/johnlewis.com/remove_from_cart
You do not need one. "Remove John Lewis product from basket" drives the real johnlewis.com pages in a browser, so it works whether or not johnlewis.com offers an API for this.
Required: product_id.
It returns count, lines, total, removed, currency.
No. It only uses pages of johnlewis.com that are reachable without signing in.
It makes changes on johnlewis.com, like sending, posting, booking or buying something.
Ask an AI agent connected to Reduck to run reduck/johnlewis.com/remove_from_cart, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/johnlewis.com/remove_from_cart
It is one of Reduck's official scripts.

Start building not clicking