tirabeauty.com
Add a product to the Tira cart
TL;DR
About
Give the product link or slug and a quantity. It adds the product to the guest cart of this browser, as the product page's add button does. A product that is unknown, out of stock or already in the cart gives an error, and nothing is added. Nothing is paid or ordered. No account is needed.
Inputs
product requiredThe product slug (from search-products) or the link of its page on tirabeauty.com.
quantity optionalHow many to add. The site sells at most max_quantity per order (get-product), and no more than it has in stock.
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 Indian rupees, after discounts.
offerId requiredThe offer that was added, as get-product gives it.
productId required