List Thalia cart items
Automatically list Thalia cart items on thalia.de. List the items in the Thalia Germany (thalia.de) shopping cart of this browser, as the site holds it: for each line its line id, product id, offer id (always null), name, seller (always Thalia), quantity, unit price and line price in euros, plus the number of units and the value of the products before shipping. 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.
Inputs
None
Output
count requiredNumber of units in the cart.
lines requiredtotal requiredValue of the products in the cart in euros, before shipping.
FAQ
Remove a product from the Thalia cart
Remove a product from the Thalia Germany (thalia.de) shopping cart of this browser by its product id or product link, whatever its quantity, and return what is left in the cart: each line with its line id, product id, offer id (always null), name, seller, quantity, unit price and line price in euros, plus the number of units and the value of the products. 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.
Add a product to the Thalia cart
Add a product of the Thalia Germany store (thalia.de) to the shopping cart of this browser, by product id or product link, with a quantity from 1 to 10. Returns the product id, offer id (always null), name, the number of units added, and the cart afterwards: each line with its line id, product id, offer id, name, seller, quantity, unit price and line price in euros, plus the number of units and the value of the products. Works as a guest, with no account: lines already in the cart stay and are listed too. Nothing is paid or ordered. An unknown product id, a link that is not a Thalia product page, and a product the page does not offer to add to the cart fail with an error that says so, and add nothing.
Get Thalia product
Read one product of the Thalia Germany store (thalia.de) from its Thalia product id or product page link: name, authors, series, format, ISBN, barcode number, price and struck-through earlier price in euros, delivery status, stock, condition, whether it can be added to the cart, category and breadcrumb, rating, review count, description, images, the product details table (publisher, pages, release date and more) and the other formats, publishers and editions of the title with their product ids. An id that Thalia does not know fails with a message that says so.
