# Add a product to the Ulta Beauty cart

Automatically add a product to the Ulta Beauty cart on ulta.com. Add a product to the Ulta Beauty (ulta.com) bag of this browser for shipping, by its link or by its product id and sku id, with a quantity. A product with more than one shade or size needs the sku id of one (from Get Ulta Beauty product). The call returns the whole bag after the add: each line with its line id, product id, offer id (sku id), name, seller, quantity, unit price and line price in US dollars, plus the number of units and the value of the items. Lines already in the bag stay. Ulta Beauty sells at most 10 units of one sku per order; a quantity above that limit fails and adds nothing. An unknown product, a sku the product does not have, a missing sku and a sku that cannot ship now fail with an error that says so. Works as a guest. Nothing is paid or ordered.

- Site: ulta.com
- Address: `reduck/ulta.com/add_to_cart`
- Updated: 2026-11-26 (v1)
- Author: Reduck AI (reduck)

## Run it

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

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

## Input

- `url` (string, optional): Ulta Beauty product link (https://www.ulta.com/p/<name>-<product id>?sku=<sku id>), as returned by Search Ulta Beauty products. Its sku selects the shade or size.
- `sku_id` (string, optional): Sku id of the shade or size (sku_id of a variant of Get Ulta Beauty product). It replaces the sku of the url.
- `quantity` (integer, optional): Number of units to add. Ulta Beauty sells at most 10 units of one sku per order, the units already in the bag included; more fails with an error and adds nothing.
- `product_id` (string, optional): Ulta Beauty product id (product_id of Search Ulta Beauty products), e.g. pimprod2046768 or mkt77015844. Used when no url is given.

## Output

- `name` (string | null, required)
- `added` (integer, required): Units added by this call.
- `count` (integer, required): Number of units in the bag, all lines together.
- `lines` (array, required)
- `total` (number | null, required): Value of the bag's items in US dollars, before shipping and tax.
- `offerId` (string, required): Sku id added.
- `productId` (string, required)

## FAQ

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

Add a product to the Ulta Beauty (ulta.com) bag of this browser for shipping, by its link or by its product id and sku id, with a quantity. A product with more than one shade or size needs the sku id of one (from Get Ulta Beauty product). The call returns the whole bag after the add: each line with its line id, product id, offer id (sku id), name, seller, quantity, unit price and line price in US dollars, plus the number of units and the value of the items. Lines already in the bag stay. Ulta Beauty sells at most 10 units of one sku per order; a quantity above that limit fails and adds nothing. An unknown product, a sku the product does not have, a missing sku and a sku that cannot ship now fail with an error that says so. Works as a guest. Nothing is paid or ordered.

### How do I automatically add a product to the Ulta Beauty cart on ulta.com?

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

### Is there a ulta.com API to add a product to the Ulta Beauty cart?

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

### What information do I need to provide?

Optional: url, sku_id, quantity, product_id.

### What does it return?

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

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

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

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

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

### How do I run it?

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

### Who maintains it?

It is one of Reduck's official scripts.

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