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 optionalOffer id of the cart line, the offerId of List the items in the Flipkart cart.
product_id optionalFlipkart product id: every cart line of this product is removed. Used when no offer_id is given.
Output
count requiredNumber of items left in the cart.
lines requiredtotal requiredTotal amount Flipkart shows for the cart, in rupees, with the platform fee.
removed requiredTrue when at least one line was removed; false when the product was not in the cart.
currency requiredFAQ
Get Flipkart product
Fetch one Flipkart India (flipkart.com) product by its id (the product_id of Search Flipkart products) or by its flipkart.com product link. Returns title, brand, url, price, list_price, currency, rating, rating_count, review_count, rating_breakdown, availability, seller (id, name, rating), flipkart_assured, category_path, image_url, images and the variant attributes of this product (for example its color). Prices are in Indian rupees (INR) as a visitor with no delivery address sees them; list_price is the struck-through maximum retail price. Bank and exchange offers are not included. An unknown id fails with an error that says so.
Search Flipkart products
Search Flipkart India (flipkart.com) by free-text query, with Flipkart's sort order, a price range in rupees and a brand filter. Returns one page of results: query, searched_query, page, total_results, total_pages, has_next_page and items (product_id, title, brand, url, price, list_price, currency, rating, rating_count, review_count, image_url, availability, flipkart_assured, sponsored). Prices are in Indian rupees (INR); price is the selling price the card shows, list_price the struck-through maximum retail price. Sponsored results are included and marked. When Flipkart finds no match for the query, it searches for a corrected or shorter query instead: searched_query says which. Other Flipkart filters (category-specific attributes, rating, discount, Flipkart Assured) are not offered.
Add a product to the Flipkart cart
Add a Flipkart India (flipkart.com) product to the cart of this browser, by product id (or product link) and, to choose the seller, an offer id from Get the sellers of a Flipkart product, with a quantity from 1 to 10. Without an offer id, the offer Flipkart picks by default is added. Returns 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), plus the product id, offer id and name of what was added and the quantity added. Works as a guest, with no account. Nothing is paid or ordered. An unknown product id, an offer id that is not one of the product's sellers, and a quantity Flipkart refuses fail with an error that says so.
