Remove Walmart product from cart
Automatically remove Walmart product from cart on walmart.com. Remove a product from your Walmart.com cart by item id, whatever its quantity, and return what is left in the cart (lines, item count, subtotal). A product that is not in the cart is reported as not present rather than failing. Walmart sometimes refuses automated cart changes with its "Robot or human?" check; the run then fails saying so, and it usually clears after a pause.
Input
itemId requiredWalmart item id (us_item_id) of the cart line, as list_cart_items returns it.
Output
lines requiredThe cart's lines after the removal.
us_item_id requiredwas_present requiredFalse when the product was not in the cart; nothing was changed then.
subtotal optionalSubtotal after the removal as Walmart displays it; null for an empty cart.
cart_count optionalFAQ
Search Walmart products
Search Walmart.com by free-text query and return one page of results. Returns query, page, sort, url, total_count, max_page, corrected_query, items and related_items (each item: us_item_id, name, url, price, was_price, unit_price, rating, review_count, image_url, seller_name, availability, badges, sponsored). Items holds the query's actual matches; when a query matches little or nothing Walmart fills the page with an "other options to consider" block, and those products are returned separately as related_items so they are never mistaken for results. A query that matches nothing comes back with empty items and a populated related_items. Sort by best_match, price_low, price_high, best_seller, rating_high or new. Prices and availability follow the store Walmart assigns to the browser's location. Walmart can refuse many searches sent close together: pace fan-outs, and retry later when it does.
Get Walmart product reviews
Fetch one page of customer reviews (10 per page) for a Walmart.com item id, anonymously. Sort by relevancy, helpful, submission-desc, submission-asc, rating-desc or rating-asc; optionally restrict to verified purchases. Returns product (us_item_id, name), summary (average_rating, total_ratings, reviews_with_text, recommended_percentage, rating_breakdown), the page, sort, filtered_count and reviews (id, rating, title, text, date, author, verified_purchase, recommended, helpful_votes, unhelpful_votes, variant). Only reviews with text are listed; ratings without text count in the summary only.
Get Walmart product
Fetch one Walmart.com item page by its item id (the number in /ip/.../<id>). Returns us_item_id, product_id, url, name, brand, model, upc, price, was_price, currency, availability, seller, rating, review_count, rating_breakdown, category path, images, short/long description (HTML), specifications, variants (with each option's item id), return_policy and badges. The requested id can resolve to a different displayed variant; both ids are returned. Price and availability follow the store Walmart assigns to the browser's location.
