List Wayfair cart items
Automatically list Wayfair cart items on wayfair.com. List what the browser's Wayfair.com guest cart holds: the unit count, the item subtotal in USD (without tax or delivery) and each line with its product id, name, seller, quantity, unit price and line price. No sign-in is needed. An empty cart returns no lines and a count of 0. Run it in the same browser that added the items (a managed session in region us-east-1).
Inputs
None
Output
count requiredUnits in the cart.
lines requiredtotal requiredCart total with estimated tax, in USD; 0 for an empty cart.
FAQ
Search Wayfair products
Search Wayfair.com by free-text query and return one page of results: each product's listing id, name, brand, url, price, previous price, currency, rating, review count, image, deal badge and whether it is sponsored, plus the number of result pages. Wayfair often answers a query with a category page (a search for "office chair" opens Office Chairs): the url it landed on is returned. A page past the last one returns no items. Prices are in USD for the US site. Run it from a US browser (managed, region us-east-1).
Remove from Wayfair cart
Remove a product from the browser's Wayfair.com guest cart, whatever its quantity, by its listing id (e.g. W005759455, as list_cart_items returns it). Returns removed and the cart after: the unit count, the item subtotal in USD and each line with its product id, name, seller, quantity, unit price and line price. A product that is not in the cart gives removed false and the cart unchanged, not an error. Run it in the browser that holds the cart (a managed session in region us-east-1).
Add to Wayfair cart
Add a Wayfair.com product to the browser's guest cart, from its listing id (e.g. W005759455) or product page link, with the product's default options, and set its line to the quantity asked (1 to 10). Declines the protection plan Wayfair offers. Returns the cart after the add: the unit count, the item subtotal in USD and each line with its product id, name, seller, quantity, unit price and line price. Run it from a US browser (managed, region us-east-1), and list or remove in the same session. Never checks out.
