List Intermarché cart items
Automatically list Intermarché cart items on intermarche.com. List the items in this browser's Intermarché.com cart for one store (guest or signed in): each line with its line id, barcode number, product id, name, seller, quantity, unit price and line price in euros, link, and its review_hash (pass it to Remove Intermarché product from cart), plus the item count and total. The store is its 5-digit code (for example 09571). An empty cart returns an empty list.
Inputs
store requiredStore code, 5 digits, e.g. 09571.
Output
count requiredlines requiredtotal requiredFAQ
Remove Intermarché product from cart
Remove a product from this browser's Intermarché.com cart for one store by barcode number, whatever its quantity, and return the cart left. Takes the line's review_hash from List Intermarché cart items: when it is missing or the line changed since, nothing is removed and the error gives the line as it is now and its hash. A product not in the cart returns removed false. The store is its 5-digit code (for example 09571).
Get Intermarché product
Read one Intermarché.com product in one store (prices and stock are per store) from its product link, as Search Intermarché products returns it: title, brand, description, price and crossed-out price in euros, unit price, packaging, stock, per-order limit, availability, storage advice, legal information and images. The store is its 5-digit code (for example 09571). A link to no product fails with an error that says so.
Search Intermarché products
Search Intermarché.com in one store (Intermarché prices and stock are per store) by free-text query, 40 products per page: total results and pages, has_next_page, and for each product its id, barcode number, title, brand, price in euros and unit price, availability and image. The store is its 5-digit code, as the store's page on intermarche.com shows it (for example 09571). A page past the last returns an empty list.
