Remove bol.com product from cart
Automatically remove bol.com product from cart on bol.com. Remove a product from the bol.com cart (Netherlands, Dutch site) of this browser by its product id or page link, whatever its quantity, and return what is left in the cart: each line with its product id, offer id, name, seller, quantity, unit price and line price in euros, the item count and the total of the articles in euros (delivery not included). A product that is not in the cart is reported with removed false and the cart unchanged, not as a failure. An id or link that is not a bol.com product fails with an error.
Inputs
product requiredA bol.com product id as returned by List bol.com cart items (for example 9300000000353594), or the link of a bol.com product page.
Output
count requiredUnits left in the cart.
lines requiredtotal requiredTotal of the articles left in euros, delivery not included.
removed requiredFalse when the product was not in the cart.
productId requiredFAQ
List bol.com cart items
List the items in the bol.com cart (Netherlands, Dutch site) of this browser, as the site holds it: for each line its product id, offer id, name, seller, quantity, unit price and line price in euros, plus the number of items and the total of the articles in euros (delivery not included). The cart is the guest cart of the browser, so no sign-in is needed. An empty cart returns an empty list, a zero count and no total.
Get bol.com product
Fetch one bol.com product page (Netherlands, Dutch site) by product id or page link: title, link, brand, seller of the best offer, offer id, price in euros and the price for Select members, rating, review count, delivery promise, image link and description, and whether an offer is on sale now. A product with no offer returns available false and no price. An id or link that is not a bol.com product fails with an error that says so.
Search bol.com products
Search bol.com (Netherlands, Dutch site) by free text and get one page of results: for each product its id, title, link, brand, seller, price in euros, rating, review count, whether it is sponsored and whether it has an offer to buy now. Also returns the number of the last page and the product categories the search offers, each with the id to pass back as category_id to narrow the search. Page 1 is the default; stop paging at the last page. A search with no result returns an empty list. Pass a product id to Get bol.com product.
