Remove from Coolblue cart
Automatically remove from Coolblue cart on coolblue.nl. Remove a product from the Coolblue Netherlands (coolblue.nl) shopping cart of this browser by its product number or product link, whatever its quantity, and return what is left in the cart: each line with its line id, product number, name, quantity, unit price and line price in euros, plus the item count and total. A product that is not in the cart is reported with removed false and the cart unchanged, not as a failure. Works as a guest, with no account. A link that is not a Coolblue product page fails with an error.
Inputs
product requiredCoolblue product number (the productId of List Coolblue cart items) or a product link.
Output
count requiredNumber of items left in the cart (quantities added up).
lines requiredtotal requiredCart total in euros, VAT included, added up from the lines.
removed requiredTrue when the product was in the cart and is gone; false when it was not in the cart.
FAQ
Search Coolblue products
Search Coolblue Netherlands (coolblue.nl) by free-text query, with the site's sort orders, a price range and the filters of its filter column (category, brand, review score and the product's own attributes). Returns one page of products: product number, title, link, brand, price and the reference price before the reduction in euros, review score, review count, image, availability, Coolblue's choice, promotion label and a flag for sponsored products, plus the total count, page count, has_next_page, the filter values the site offers (each with the filter string to pass back and its count) and the price range of the list. Coolblue rates products out of 10, and rating is returned as the site gives it. Coolblue sends some queries (a category word or a brand) to a category or brand page: then redirect_url gives that page, and the results are the products it lists with the same page, sort and filters, or no items when it is a landing page without a list. A search with no result returns an empty list.
List Coolblue cart items
List the items in the Coolblue Netherlands (coolblue.nl) shopping cart of this browser, as the site holds it: for each line its line id, product number, name, quantity, unit price and line price in euros, plus the number of items and the cart total. The cart is the guest cart of the browser, so no sign-in is needed. An empty cart returns an empty list and a zero count. Offer id and seller are not given by the site and are null.
Add to Coolblue cart
Add a Coolblue Netherlands (coolblue.nl) product to the shopping cart from its product number or product link, with an optional quantity from 1 to 10, and return the cart as the site holds it afterwards: each line with its line id, product number, name, quantity, unit price and line price in euros, plus the item count and total. 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 that has no add button (out of stock, sold in store only) fails with an error; a link that is not a Coolblue product page, or an unknown product number, fails with an error.
