1,666 official scripts
Tested scripts for the sites people automate most, ready for your agent to run.
List Back Market France cart items
List the items in the backmarket.fr cart of this browser, as the site holds it: for each line its product id, offer id, name, seller, condition grade, 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.
Get Back Market France product
Fetch one backmarket.fr product page from its link (as Search Back Market France products returns it, the grade is the l parameter). Returns the title, brand, model, color, type (new or refurbished), the price when new, and the offer the page shows for that grade: offer id, price in euros, condition grade, seller (name, country, city, seller since), warranty, delivery dates and whether delivery is free. Also returns the grade and variant choices the page offers and whether the product is out of stock. A link that is not a product page fails with an error.
Remove Back Market France product from cart
Remove a product from the backmarket.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, condition grade, 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. When the same product is in the cart from several sellers or in several grades, pass the offer id to pick the line.
Search Back Market France products
Search backmarket.fr by free text and return the first page of results: for each the product id, the offer shown (offer id, price in euros, condition grade, warranty), the seller id, rating, review count, stock, image and product page link. Also returns the total number of products found over all pages; later pages are not available. A search with no match returns an empty list. Pass a product link to Get Back Market France product, or to Add Back Market France product to cart.
Add Back Market France product to cart
Add a backmarket.fr product to the shopping cart from its product page link, with an optional quantity, and return the cart as the site holds it afterwards: each line with its product id, offer id, name, seller, condition grade, quantity, unit price and line price in euros, plus the item count and total. The grade in the link (l parameter) decides which offer and which seller are added. 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 is out of stock, or a link that is not a Back Market product page, fails with an error.
