flyingtiger.com
Add a product to the Flying Tiger cart
TL;DR
About
Give the product's link or handle and a quantity from 1 to 10. For a product with several variants, give the id of one, from the get-product script. A sold-out variant or an unknown product gives an error. Lines already in the cart stay. It adds the product to the cart of this browser, as a guest. Nothing is paid or ordered. No account is needed.
Inputs
product requiredThe product handle (from search-products) or the link of its page on flyingtiger.com.
offerId optionalThe id of the variant to add (id of a variant in get-product). Needed when the product has more than one.
quantity optionalHow many to add, 1 to 10.
Default: 1Output
name requiredadded requiredNumber of units added.
count requiredThe number of items in the cart after the add, all quantities added.
lines requiredtotal requiredThe cart total, in the currency below.
offerId requiredThe id of the variant that was added.
currency requiredproductId required