List the items in the Lands' End cart
TL;DR
Automatically list the items in the Lands' End cart on landsend.com. List the items in the Lands' End shopping bag, with quantity and price in US dollars, and the subtotal.
About
Use it to check the bag before checkout. The subtotal is before promotion codes, shipping and tax, and saved for later items are not included. It reads the guest bag of this browser. No account is needed.
Inputs
None
Output
count requiredNumber of units in the bag.
lines requiredtotal requiredItem subtotal in US dollars, before promotion codes, shipping and tax.
FAQ
Search Lands' End products
Search Lands' End (landsend.com, US) products by keywords, 96 a page, in the order the site gives: number, name, link, price and regular price in US dollars, image and colors of each, plus the total count and the number of pages. The site's search also returns close matches, so keywords that match nothing exactly can still give products. A page past the last one gives an empty list. When Lands' End sends the keywords to another page instead of results, redirected_to gives that page.
Remove a product from the Lands' End cart
Remove lines from the Lands' End (landsend.com, US) shopping bag of this browser and return the bag as the site holds it afterwards. Give lineId to remove one line, or offerId to remove every line of that sku, whatever its quantity. Both come from List the items in the Lands' End cart. Returns removed (true when lines were removed, false when no line matched, and then nothing is changed), the number of units, the item subtotal before promotion codes, shipping and tax, and each line left with its line id, product number, offer id, name, seller, quantity, unit price and line price in US dollars. Works as a guest, with no account.
Add a product to the Lands' End cart
Add one offer (a color in a size) of a Lands' End (landsend.com, US) product to the shopping bag of this browser, and return the bag as the site holds it afterwards. Give the product number or link and the offerId (the sku), both from Get Lands' End product, and a quantity from 1 to 10. The offerId can be left out only for a product with a single offer. Returns the product number, offer id, name, whether the bag now holds the offer, and the bag: the number of units, the item subtotal before promotion codes, shipping and tax, and each line with its line id, product number, offer id, name, seller, quantity, unit price and line price in US dollars. Works as a guest, with no account: lines already in the bag stay and are listed too. Nothing is paid or ordered. An unknown product, an offerId of another product, a missing offerId, or an offer that is not available to order fails with a message that says so, and adds nothing.
