App Logo
flipkart.com

Remove a product from the Flipkart cart

Automatically remove a product from the Flipkart cart on flipkart.com. Remove a product from the Flipkart India (flipkart.com) cart of this browser, by offer id (one seller's listing, as List the items in the Flipkart cart gives it) or by product id (every line of that product). Returns whether something was removed and the whole cart afterwards: each line with its line id, product id, offer id, name, seller, quantity, unit price and line price in Indian rupees, the item count and the total amount. A product that is not in the cart gives removed false and changes nothing. Works as a guest, with no account.

Inputs

offer_id optional

Offer id of the cart line, the offerId of List the items in the Flipkart cart.

product_id optional

Flipkart product id: every cart line of this product is removed. Used when no offer_id is given.

Output

count required

Number of items left in the cart.

lines required
total required

Total amount Flipkart shows for the cart, in rupees, with the platform fee.

removed required

True when at least one line was removed; false when the product was not in the cart.

currency required

FAQ

Remove a product from the Flipkart India (flipkart.com) cart of this browser, by offer id (one seller's listing, as List the items in the Flipkart cart gives it) or by product id (every line of that product). Returns whether something was removed and the whole cart afterwards: each line with its line id, product id, offer id, name, seller, quantity, unit price and line price in Indian rupees, the item count and the total amount. A product that is not in the cart gives removed false and changes nothing. Works as a guest, with no account.
Ask an AI agent connected to Reduck to run reduck/flipkart.com/remove_from_cart, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/flipkart.com/remove_from_cart
You do not need one. "Remove a product from the Flipkart cart" drives the real flipkart.com pages in a browser, so it works whether or not flipkart.com offers an API for this.
Optional: offer_id, product_id.
It returns count, lines, total, removed, currency.
No. It only uses pages of flipkart.com that are reachable without signing in.
It makes changes on flipkart.com, like sending, posting, booking or buying something.
Ask an AI agent connected to Reduck to run reduck/flipkart.com/remove_from_cart, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/flipkart.com/remove_from_cart
It is one of Reduck's official scripts.

Start building not clicking