# Add to AJIO bag

Automatically add to AJIO bag on ajio.com. Add one unit of an AJIO product in one size to this browser's shopping bag.

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

## About

Give the product's code or link, as the Get AJIO product script gives it, and a size. It returns the bag with the added line. A size that the product does not have, or that is out of stock, is refused before anything is added. If the size is already in the bag, its quantity goes up. No account is needed.

## Run it

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

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

## Input

- `size` (string, required): The size as Get AJIO product lists it (e.g. M, 32, Free Size).
- `product` (string, required): The product code (e.g. 704004700_navy) or an ajio.com product link.

## Output

- `sku` (string, required)
- `count` (integer, required)
- `lines` (array, required)
- `quantity_in_cart` (integer, required)
- `size` (string, optional)
- `currency` (string, optional)
- `subtotal` (number, optional)

## FAQ

### What does "Add to AJIO bag" do?

Add one unit of an AJIO (ajio.com, India) product in one size to this browser's shopping bag, as the product page's Add to bag button does, and return the bag afterwards with the added line. The product is its code or link (as Get AJIO product gives it) and the size is one of its sizes (e.g. M). A size the product does not have, or that is out of stock, is refused before anything is added. Adding a size already in the bag raises that line's quantity.

### How do I automatically add to AJIO bag on ajio.com?

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

### Is there a ajio.com API to add to AJIO bag?

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

### What information do I need to provide?

Required: product, size.

### What does it return?

It returns sku, size, count, lines, currency, subtotal, quantity_in_cart.

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

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

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

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

### How do I run it?

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

### Who maintains it?

It is one of Reduck's official scripts.

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