woodbrass.com
Add a product to the Woodbrass cart
TL;DR
About
Use it to fill a Woodbrass cart for a later checkout. It adds 1 to 10 units, as a guest, and returns the line and the cart with prices in euros. A sold-out product or a missing variant choice fails with a message and adds nothing. Nothing is paid or ordered. No account is needed.
Inputs
product requiredThe product handle or its woodbrass.com/products link.
offer_id optionaloffer_id of the variant, from Get Woodbrass product. Can be left out for a product with a single variant.
quantity optionalUnits to add, 1 to 10.
Default: 1Output
cart requiredhandle requiredoffer_id requiredquantity_added requiredname optionalline_id optionalvariant optionalline_price optionalunit_price optionalquantity_in_cart optional