Add Castorama product to cart
Automatically add Castorama product to cart on castorama.fr. Add a castorama.fr product to the shopping cart from its product page link or product id, with an optional quantity, and return the cart as the site holds it afterwards: each line with its product id, offer id, name, seller, quantity, unit price and line price in euros, plus the item count and 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 that cannot be bought online (out of stock, sold in store only) fails with an error; a link that is not a Castorama product page fails with an error.
Inputs
product requiredA castorama.fr product link (ends with <id>_CAFR.prd) or the product id returned by Search Castorama products.
quantity optionalHow many units to add to the cart.
Default: 1Output
name requiredadded requiredUnits this run added to the cart.
count requiredUnits in the cart after the add.
lines requiredtotal requiredCart total in euros, taxes included, delivery not included.
offerId requiredproductId requiredFAQ
Remove Castorama product from cart
Remove a product from the castorama.fr cart of this browser by its product id, whatever its quantity, and return what is left in the cart: each line with its product id, offer id, name, seller, quantity, unit price and line price in euros, plus the item count and total. A product that is not in the cart is reported with removed false and the cart unchanged, not as a failure. Works as a guest, with no account.
List Castorama cart items
List the items in the castorama.fr cart of this browser, as the site holds it: for each line its product id, offer id, name, seller, quantity, unit price and line price in euros, plus the number of items and the cart total in euros, delivery not included. The cart is the guest cart of the browser, so no sign-in is needed. An empty cart returns an empty list and a zero count.
Get Castorama product
Fetch one castorama.fr product page by its link or its product id (from Search Castorama products). Returns the name, price and struck-through list price in euros, rating and review count, the seller (Castorama or a partner seller), availability and purchasable flag, delivery and pick-up availability, description, highlights, the technical specifications, the images and the breadcrumb. Prices are those shown to this browser, which can depend on the store or postcode chosen on the site. An unknown id or a link that is not a product page fails with an error that says so.
