Remove product from Leroy Merlin cart
Automatically remove product from Leroy Merlin cart on leroymerlin.fr. Remove a product from the Leroy Merlin cart of this browser by its product reference, whatever its quantity, and return what is left in the cart: each line with its product reference, offer id, name, seller, quantity, unit price and line price in euros, plus the item count and the items total. A product that is not in the cart is reported with removed false and the cart unchanged, not as a failure. When the same product is in the cart from several offers, pass the offer id to pick the line.
Inputs
productId requiredProduct reference as the cart lists it (productId of List Leroy Merlin cart items), for example 82231854.
offerId optionalOffer id of the line, only needed when the same product is in the cart from several offers.
Output
count requiredUnits in the cart after the removal.
lines requiredtotal requiredItems total in euros, taxes included, delivery excluded.
removed requiredFalse when the product was not in the cart.
productId requiredFAQ
Search Leroy Merlin products
Search leroymerlin.fr by free-text query, with the site's sort order, one page at a time of about 48 products. Returns the page number, the page count, has_next_page, the result count the site shows (it stops counting at 10000), and for each product its reference, offer id, name, brand, link, price in euros, rating, review count, seller and image. Prices are those the site shows for the browser's current store, or the online price when no store is chosen. Stop paging when has_next_page is false. Pass the link to Get Leroy Merlin product or Add Leroy Merlin product to cart.
List Leroy Merlin cart items
List the items in the Leroy Merlin cart of this browser, as the site holds it: for each line its product reference, offer id, name, seller, quantity, unit price and line price in euros, plus the number of items and the items total (delivery fees excluded). 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 a zero total.
Add Leroy Merlin product to cart
Add a Leroy Merlin product to the shopping cart from its product page link, with an optional quantity, and return the cart as the site holds it afterwards: each line with its product reference, offer id, name, seller, quantity, unit price and line price in euros, plus the item count and the items 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 page that does not offer the add button (out of stock, not sold online) fails with an error; a link that is not a Leroy Merlin product page fails with an error.
