Add bol.com product to cart
Automatically add bol.com product to cart on bol.com. Add a bol.com product (Netherlands, Dutch site) to the shopping cart from its product id or page link, with an optional quantity, and return the cart as the site answers after the add: 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). Works as a guest, with no account: the cart lives in the browser, so lines already in it stay and are listed too. Nothing is paid or ordered. A product with no offer on sale, or with no add button on its page, fails with an error; 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 Search bol.com products (for example 9300000000353594), or the link of a bol.com product page.
quantity optionalHow many units to add to the cart.
Default: 1Output
name requiredadded requiredUnits this run added to the cart.
count requiredUnits in the cart after the add.
lines requiredtotal requiredTotal of the articles in the cart in euros, delivery not included.
offerId requiredproductId requiredFAQ
Remove bol.com product from cart
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.
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.
