Add to Bombas cart
Automatically add to Bombas cart on bombas.com. Add a product of the Bombas store (bombas.com) to this browser's cart in the variant (color and size) given by its variant_id, and return the cart in its currency. A variant that is sold out or not of that product fails with an error and adds nothing.
Inputs
product requiredThe product handle or its bombas.com link.
variant_id requiredThe variant's variant_id from Get Bombas product.
quantity optionalOutput
count requiredlines requiredadded_variant_id requiredcurrency optionalsubtotal optionalFAQ
Remove from Bombas cart
Remove one line from this browser's Bombas (bombas.com) cart, whatever its quantity, by the line_id and review_hash that List Bombas 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 Bombas cart items
List the lines of this browser's Bombas (bombas.com) cart: product, variant (color and size), quantity, unit and line price in the cart's currency (the site prices a visitor's cart for their country), and the line_id and review_hash that Remove from Bombas cart needs. A browser with no cart returns no lines.
Get Bombas product
Get one product of the Bombas US store (bombas.com) by its handle or link: name, price in USD, list price when on sale, stock, description, images, options (color, size) and every variant with its variant_id, color, size, price and stock. A product the store does not have fails with an error.
