# Add to Amazfit cart

Automatically add to Amazfit cart on amazfit.com. Add an Amazfit US product to your cart and get the cart with prices in US dollars.

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

## About

Give the product's link or handle, a variant id when the product has several, and a quantity from 1 to 10. Lines already in the cart stay. A sold-out variant or an unknown product fails with an error. It adds the product to the cart of this browser, as a guest. 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/amazfit.com/add_to_cart`, or run it from a terminal:

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

## Input

- `product` (string, required): Product handle or us.amazfit.com product link.
- `quantity` (integer, optional): How many to add, 1 to 10.
- `variant_id` (string, optional): Variant to add (variant_id from Get Amazfit product). Needed when the product has several variants.

## Output

- `count` (integer, required)
- `lines` (array, required)
- `handle` (string, required)
- `line_id` (string, required)
- `subtotal` (number, required)
- `variant_id` (string, required)
- `quantity_in_cart` (integer, required)
- `currency` (string, optional)

## FAQ

### What does "Add to Amazfit cart" do?

Add an Amazfit US (us.amazfit.com) product to the shopping cart by its handle or product link, with an optional variant id (from Get Amazfit product; the only variant when the product has one) and quantity from 1 to 10, and return the cart afterwards: each line with its line id, ids, name, variant, quantity, prices in US dollars and a review_hash, plus the item count and subtotal. Works as a guest: lines already in the cart stay. Nothing is paid or ordered. A sold-out variant, an unknown handle, or a product with several variants and no variant id fails with an error.

### How do I automatically add to Amazfit cart on amazfit.com?

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

### Is there a amazfit.com API to add to Amazfit cart?

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

### What information do I need to provide?

Required: product. Optional: quantity, variant_id.

### What does it return?

It returns count, lines, handle, line_id, currency, subtotal, variant_id, quantity_in_cart.

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

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

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

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

### How do I run it?

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

### Who maintains it?

It is one of Reduck's official scripts.

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