decathlon.ch
Add Decathlon Switzerland product to cart
TL;DR
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 requiredLink of the product page (https://www.decathlon.ch/fr/p/...), as returned by Search Decathlon Switzerland products.
sku_id optionalId 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 optionalNumber of units to add, 1 to 10.
Default: 1Output
name requiredadded requiredcount requiredlines requiredtotal requiredofferId requiredproductId requiredcurrency optionalreviewHash optional