App Logo
johnlewis.com

List John Lewis basket items

Automatically list John Lewis basket items on johnlewis.com. List the items in the John Lewis UK store (johnlewis.com) basket of this browser, as the site holds it: for each line its line id, product id (the sku id of the exact colour or size), offer id (always null), name with the brand, seller (always John Lewis), quantity, unit price and line price, plus the number of items, the basket total before delivery and the currency (GBP). The basket is the guest basket of the browser, so no sign-in is needed. An empty basket returns an empty list and a zero count. Saved-for-later items are not included.

Inputs

None

Output

count required

Number of units in the basket, all lines together.

lines required
total required

Basket subtotal before delivery, in pounds sterling.

currency required

GBP

FAQ

List the items in the John Lewis UK store (johnlewis.com) basket of this browser, as the site holds it: for each line its line id, product id (the sku id of the exact colour or size), offer id (always null), name with the brand, seller (always John Lewis), quantity, unit price and line price, plus the number of items, the basket total before delivery and the currency (GBP). The basket is the guest basket of the browser, so no sign-in is needed. An empty basket returns an empty list and a zero count. Saved-for-later items are not included.
Ask an AI agent connected to Reduck to run reduck/johnlewis.com/list_cart_items, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/johnlewis.com/list_cart_items
You do not need one. "List John Lewis basket items" drives the real johnlewis.com pages in a browser, so it works whether or not johnlewis.com offers an API for this.
Nothing. It takes no input.
It returns count, lines, total, currency.
No. It only uses pages of johnlewis.com that are reachable without signing in.
It only reads. It looks things up on johnlewis.com and changes nothing there.
Ask an AI agent connected to Reduck to run reduck/johnlewis.com/list_cart_items, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/johnlewis.com/list_cart_items
It is one of Reduck's official scripts.

Start building not clicking