App Logo
decathlon.ch

Add Decathlon Switzerland product to cart

TL;DR

Automatically add Decathlon Switzerland product to cart on decathlon.ch. Add a Decathlon Switzerland product to the cart in the size and quantity you choose, and get the cart back.

About

Give it a decathlon.ch product link, a quantity from 1 to 10 and, if the color has several sizes, the size. It adds the product as the add to cart button does and returns each cart line with its price in Swiss francs, plus the total. A product only for store pickup, or a size that cannot be bought, fails with an error. Nothing is paid or ordered. No account is needed, and it works in your own browser through the Reduck extension.

Inputs

url required

Link of the product page (https://www.decathlon.ch/fr/p/...), as returned by Search Decathlon Switzerland products.

sku_id optional

Id of the exact size to add, from the variants of Get Decathlon Switzerland product. Needed when the color has several sizes; leave out when it has one.

quantity optional

Number of units to add, 1 to 10.

Default: 1

Output

name required
added required
count required
lines required
total required
offerId required
productId required
currency optional
reviewHash optional

FAQ

Add a Decathlon Switzerland (decathlon.ch) product to the cart of this browser from its product page link, with a quantity from 1 to 10, as the page's own add to cart button does, and return the cart afterwards: each line with its product id (the sku id of the exact size), offer id, name, seller, quantity, unit price and line price in Swiss francs, the count and the total, plus the reviewHash of the line added. The link picks the color and sku_id picks the size; a color with several sizes and no sku_id fails and lists the sizes. Works as a guest, with no account: lines already in the cart stay. Nothing is paid or ordered. A size that cannot be bought, a product offered only for store pickup and a link that is not a decathlon.ch product page fail with an error. Works in your own browser (the extension), not in a cloud browser.
Ask an AI agent connected to Reduck to run reduck/decathlon.ch/add_to_cart, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/decathlon.ch/add_to_cart
You do not need one. "Add Decathlon Switzerland product to cart" drives the real decathlon.ch pages in a browser, so it works whether or not decathlon.ch offers an API for this.
Required: url. Optional: sku_id, quantity.
It returns name, added, count, lines, total, offerId, currency, productId, reviewHash.
No. It only uses pages of decathlon.ch that are reachable without signing in.
It makes changes on decathlon.ch, like sending, posting, booking or buying something.
Ask an AI agent connected to Reduck to run reduck/decathlon.ch/add_to_cart, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/decathlon.ch/add_to_cart
It is one of Reduck's official scripts.

Start building not clicking