List Allbirds cart items
TL;DR
Automatically list Allbirds cart items on allbirds.com. List what is in the Allbirds cart of this browser, with the size, quantity and price of each line.
About
Use it to review the cart before you change it. Each line also has the check code to pass to Remove from Allbirds cart. An empty cart gives no lines. No account is needed.
Inputs
None
Output
count requiredlines requiredcurrency requiredsubtotal requiredFAQ
Remove from Allbirds cart
Remove one line from this browser's Allbirds (allbirds.com) cart, whatever its quantity, by the line_key and review_hash that List Allbirds 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 Allbirds cart
Add a product of the Allbirds store (allbirds.com) to this browser's cart, in the size (variant) given or its only variant, and return the cart. A size that is sold out or not of that product fails with an error and adds nothing.
Get Allbirds product
Get one product of the Allbirds store (allbirds.com) by its handle or link: name, price, list price when on sale, stock, description, images, options and every variant (size) with its variant_id, price and stock. Prices are in the currency the store shows this browser (USD in the US). A product the store does not have fails with an error.
