List SKIMS cart items
Automatically list SKIMS cart items on skims.com. List the lines of this browser's SKIMS US (skims.com) cart: product, variant, quantity, unit and line price in the cart's currency, and the line_id and review_hash that Remove from SKIMS cart needs. A browser with no cart returns no lines.
Inputs
None
Output
count requiredlines requiredcurrency requiredsubtotal requiredFAQ
Remove from SKIMS cart
Remove one line from this browser's SKIMS US (skims.com) cart, whatever its quantity, by the line_id and review_hash that List SKIMS cart items gives for it, and return what is left. The review_hash makes sure the line is still the one that was reviewed (same variant, quantity and price): when it changed, or the line is not in the cart, nothing is removed and the run fails with an error.
Add to SKIMS cart
Add a product of the SKIMS US store (skims.com) to this browser's cart in the variant given by its variant_id, and return the cart. A variant that is sold out (the store can refuse one that Get SKIMS product still lists as in stock) or not of that product fails with an error and adds nothing.
Get SKIMS product
Get one product of the SKIMS US store (skims.com) by its handle or link: name, price in USD, list price when on sale, stock, description, images, options and every variant (size, cup) with its variant_id, price and stock as the store reports it. A product the store does not have fails with an error.
