Search Electro Dépôt products
Automatically search Electro Dépôt products on electrodepot.fr. Search the Electro Dépôt French store (electrodepot.fr) by free text and return one page of results as the site shows them, in its own order. For each product: product id, reference, name, link, price and former price in euros (taxes included), eco-participation, brand, condition, rating, review count, tag, key features, categories, image and a last items flag. When the text matches one of its categories, the site shows that category page instead: the result then gives the category name and the page link. Stop paging when has_next_page is false; a page past the last one returns an empty list. A search with no match returns an empty list. Prices are those the site shows to a new guest. Pass a product id to Get Electro Dépôt product.
Inputs
query requiredFree-text search, for example "micro-ondes" or "samsung".
page optionalResult page. Stop when has_next_page is false.
Default: 1Output
url requiredThe page the site showed for the search.
page requireditems requiredquery requiredcategory requiredName of the category page the site showed when the text matches a category; null on a plain search results page.
has_next_page requiredFAQ
Remove product from Electro Dépôt cart
Remove a product from the shopping cart of this browser on the Electro Dépôt French store (electrodepot.fr), by its product id (as List Electro Dépôt cart items returns it), whatever its quantity, as the cart page's delete button does. Pass a line id to remove one line only. Returns removed and the cart as it is after the removal: item count, items total in euros, currency, and each line with its line id, product id, offer id, name, seller, quantity, unit price and line price. A product that is not in the cart gives removed false and the cart unchanged, not an error. Works as a guest, with no account.
Add Electro Dépôt product to cart
Add a product of the Electro Dépôt French store (electrodepot.fr) to the shopping cart of this browser, from its product id or product page link, with a quantity from 1 to 10, as the product page's add to cart button does. Returns the cart as the site holds it afterwards, in the shape List Electro Dépôt cart items gives (item count, items total in euros, currency, lines), plus the product id, offer id (always null), name and the units added. Works as a guest, with no account: lines already in the cart stay. A product id or link the site does not know, and a product the site refuses to add, fail with an error that says so. Nothing is paid or ordered.
List Electro Dépôt cart items
List the items in the shopping cart of this browser on the Electro Dépôt French store (electrodepot.fr): the item count, the items total in euros (taxes included, delivery not included), the currency, and each line with its line id, product id, offer id (always null), name, seller, quantity, unit price and line price. Works as a guest, with no account: the cart lives in the browser, so a new browser has an empty cart. An empty cart returns an empty list.
