Search BUT.fr products
Automatically search BUT.fr products on but.fr. Search BUT.fr (furniture, mattresses, home appliances, TV and hi-fi) by free-text query and return one page of 40 results, in euros: the total result and page counts, has_next_page, and for each product its id, title, link, brand, price, struck-through list price, discount, rating, review count, image and seller. Pass page to read further. A very generic query that BUT.fr treats as a product category (for example a plain product type) is refused with an error that asks for a more specific query. Pass the id or link to Get BUT product.
Inputs
query requiredFree-text search, for example table basse noire.
page optionalPage of results, starting at 1. Stop when has_next_page is false.
Default: 1Output
page requireditems requiredquery requiredpage_count requiredhas_next_page requiredtotal_results requiredFAQ
Remove BUT.fr product from cart
Remove a product from the BUT.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, 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.
List BUT.fr cart items
List the items in the BUT.fr cart of this browser, as the site holds it: for each line its product id, name, seller, quantity, unit price and line price in euros, plus the number of items and the cart total. 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.
Add BUT.fr product to cart
Add a BUT.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, 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 link that is not a BUT product page, or an unknown product, fails with an error; a product that cannot be bought online fails with an error.
