Get Truffaut product offers
Automatically get Truffaut product offers on truffaut.com. List every offer for one product of the Truffaut French store (truffaut.com), the marketplace: the first offer the product page puts forward, then the other sellers' offers in the site's order. For each offer: offer id (null for the offer Truffaut sells itself), seller and seller page link, price and former price in euros (taxes included), shipping and earliest delivery date as the site writes them in French, the seller's share of positive reviews and review count, and the most units the site lets you add. Takes a product id or product page link from Search Truffaut products; one the site does not know fails with an error that says so. Pass an offer id to Add Truffaut product to cart.
Inputs
product requiredProduct id from Search Truffaut products (for example 2063193), or a product page link.
Output
name requiredoffers requiredproductId requiredFAQ
Remove product from Truffaut cart
Remove a product from the shopping cart of this browser on the Truffaut French store (truffaut.com), by its product id (as List Truffaut cart items returns it), whatever its quantity, as the cart page's delete link does: every line of it, or only the line of one offer id or one line id. Returns removed and the cart as it is after the removal, in the shape List Truffaut cart items gives. A product that is not in the cart gives removed false and the cart unchanged, not an error. Works as a guest, with no account.
Add Truffaut product to cart
Add a product of the Truffaut French store (truffaut.com) to the shopping cart of this browser, from its product id or product page link, with a quantity from 1 to 10, as the product page's add to cart buttons do. Without an offer id it adds the first offer the page puts forward; pass an offer id from Get Truffaut product offers to buy from another marketplace seller. Returns the cart as the site holds it afterwards, in the shape List Truffaut cart items gives, plus the product id, offer id, name and units added. Works as a guest, with no account: lines already in the cart stay. A product the site does not know, an offer that is not on the product page, and an add the site refuses fail with an error that says so. Nothing is paid or ordered.
List Truffaut cart items
List the items in the shopping cart of this browser on the Truffaut French store (truffaut.com): the item count, the items total in euros (taxes included, delivery not included), the currency, and each line with its line id, product id, offer id (null for a product Truffaut sells itself), name, seller, quantity, unit price and line price. Works as a guest, with no account: the cart lives in the browser, so a new browser has an empty cart. An empty cart returns an empty list.
