App Logo
leroymerlin.fr

Add Leroy Merlin product to cart

Automatically add Leroy Merlin product to cart on leroymerlin.fr. 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.

Inputs

url required

Link of a Leroy Merlin product page, as in https://www.leroymerlin.fr/produits/vis-acier-tete-fraisee-pozidriv-standers-4-x-l-50-mm-82231854.html.

quantity optional

How many units to add to the cart.

Default: 1

Output

name required
added required

Units this run added to the cart.

count required

Units in the cart after the add.

lines required
total required

Items total in euros, taxes included, delivery excluded.

offerId required
productId required

FAQ

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.
Ask an AI agent connected to Reduck to run reduck/leroymerlin.fr/add_to_cart, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/leroymerlin.fr/add_to_cart
You do not need one. "Add Leroy Merlin product to cart" drives the real leroymerlin.fr pages in a browser, so it works whether or not leroymerlin.fr offers an API for this.
Required: url. Optional: quantity.
It returns name, added, count, lines, total, offerId, productId.
No. It only uses pages of leroymerlin.fr that are reachable without signing in.
It makes changes on leroymerlin.fr, like sending, posting, booking or buying something.
Ask an AI agent connected to Reduck to run reduck/leroymerlin.fr/add_to_cart, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/leroymerlin.fr/add_to_cart
It is one of Reduck's official scripts.

Start building not clicking