List Crate & Barrel cart items
Automatically list Crate & Barrel cart items on crateandbarrel.com. List the items in the Crate & Barrel cart (crateandbarrel.com, US) of this browser: each line with its product id, name, quantity, unit price and line price, the number of items and the item subtotal (no tax, no shipping).
Inputs
None
Output
count requiredNumber of items (units) in the cart.
lines requiredtotal requiredItem subtotal in USD, without tax or shipping.
FAQ
Remove from Crate & Barrel cart
Remove a product from the Crate & Barrel cart (crateandbarrel.com, US) of this browser, by product id or link, whatever its quantity. A product that is not in the cart leaves the cart unchanged and returns removed false. Returns the cart after the removal.
Add to Crate & Barrel cart
Add a Crate & Barrel product (crateandbarrel.com, US) to the cart of this browser, by product id or link, optionally one of its variants (color, size), in a quantity of 1 to 10. Returns the cart after the add. It does not check out.
Get Crate & Barrel product
Read one Crate & Barrel product (crateandbarrel.com, US) from its id or link: name, price, regular price, currency, stock status and delivery message, rating, review count, images, brand, category, description, and its variants (color, size) with the id of each.
