Add to SKIMS cart
Automatically add to SKIMS cart on skims.com. 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.
Inputs
product requiredThe product handle or its skims.com link.
variant_id requiredThe variant's variant_id from Get SKIMS product.
quantity optionalOutput
count requiredlines requiredadded_variant_id requiredcurrency optionalsubtotal optionalFAQ
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.
List SKIMS cart items
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.
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.
