List Zalando cart items
Automatically list Zalando cart items on zalando.fr. List the items in the Zalando France (zalando.fr) cart of this browser, as the site holds it: for each line its line id, product id, size id (offerId), name with the brand, seller (Zalando or the partner seller), quantity, unit price and line price in euros, plus the number of items and the total of the items, delivery not included. 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 requiredThe number of items (the sum of the quantities).
lines requiredtotal requiredThe total of the items in euros, delivery not included.
currency requiredFAQ
Remove a product from the Zalando cart
Remove one size of a product from the Zalando France (zalando.fr) cart of this browser, whatever its quantity, by its size id (offerId) from List Zalando cart items. Give the line id too when the same size is in the cart from two sellers. Returns whether it was removed and what is left in the cart: each line with its product id, size id, seller, quantity, unit price and line price in euros, the number of items and the total. A size that is not in the cart gives removed false, and nothing is changed.
Add a product to the Zalando cart
Add one size of a product to the Zalando France (zalando.fr) cart of this browser, with a quantity. Give the product id and the size id (offerId) from Get Zalando product. To buy from one seller when several sell the size, give the seller id from Get Zalando product offers; else the offer the site shows first is used. Returns the product id, size id, name and whether it was added, then the whole cart: each line with its product id, size id, seller, quantity, unit price and line price in euros, the number of items and the total. The cart is the guest cart of the browser, so no sign-in is needed. An unknown product, a missing or unknown size, a size out of stock or a quantity below 1 fails with a message that says so, and nothing is added. Never checks out.
Get Zalando product offers
List every offer for one product of the Zalando France store (zalando.fr): Zalando is a marketplace, so one size can be sold by Zalando and by partner sellers. For each size and each seller, returns the size id (offerId), the size, the seller name and id, the price and original price in euros, the stock level, whether it is available, who ships it, and whether it is the offer the site shows first. Pass the seller id to Add a product to the Zalando cart to buy from that seller. A product id that the store does not have fails with a message that says so.
