# Add a product to the Tira cart

Automatically add a product to the Tira cart on tirabeauty.com. Add a Tira beauty product to the cart and get the cart total in Indian rupees, with each line.

- Site: tirabeauty.com
- Address: `reduck/tirabeauty.com/add_to_cart`
- Updated: 2026-12-01 (v1)
- Author: Reduck AI (reduck)

## 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.

## Run it

Ask an AI agent connected to Reduck over MCP (`https://mcp.reduck.ai/mcp`) to run `reduck/tirabeauty.com/add_to_cart`, or run it from a terminal:

```bash
npx @reduck-ai/cli@latest run --script reduck/tirabeauty.com/add_to_cart
```

## Input

- `product` (string, required): The product slug (from search-products) or the link of its page on tirabeauty.com.
- `quantity` (integer, optional): How many to add. The site sells at most max_quantity per order (get-product), and no more than it has in stock.

## Output

- `name` (string | null, required)
- `added` (integer, required): Number of units added.
- `count` (integer, required): The number of items in the cart after the add, all quantities added.
- `lines` (array, required)
- `total` (number | null, required): The cart total in Indian rupees, after discounts.
- `offerId` (string | null, required): The offer that was added, as get-product gives it.
- `productId` (string | null, required)

## FAQ

### What does "Add a product to the Tira cart" do?

Add a Tira (tirabeauty.com, India) product to the cart of this browser, as a guest, from its slug or page link, with a quantity, as the product page's add button does. Gives the product id, offer id, name, the number of units added, and the cart: item count, total in Indian rupees after discounts, and each line. An unknown product, a product out of stock, a quantity above what the site sells, or a product already in the cart gives an error that says so, and nothing is added. Nothing is paid or ordered.

### How do I automatically add a product to the Tira cart on tirabeauty.com?

Ask an AI agent connected to Reduck to run reduck/tirabeauty.com/add_to_cart, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/tirabeauty.com/add_to_cart

### Is there a tirabeauty.com API to add a product to the Tira cart?

You do not need one. "Add a product to the Tira cart" drives the real tirabeauty.com pages in a browser, so it works whether or not tirabeauty.com offers an API for this.

### What information do I need to provide?

Required: product. Optional: quantity.

### What does it return?

It returns name, added, count, lines, total, offerId, productId.

### Do I need to be logged in to tirabeauty.com?

No. It only uses pages of tirabeauty.com that are reachable without signing in.

### Does it change anything on tirabeauty.com, or only read data?

It makes changes on tirabeauty.com, like sending, posting, booking or buying something.

### How do I run it?

Ask an AI agent connected to Reduck to run reduck/tirabeauty.com/add_to_cart, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/tirabeauty.com/add_to_cart

### Who maintains it?

It is one of Reduck's official scripts.

Source: https://reduck.ai/explore/scripts/reduck/tirabeauty.com/add_to_cart
