# Add to Gymshark cart

Automatically add to Gymshark cart on gymshark.com. Add a Gymshark product to the bag in the size you choose, and get the bag back.

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

## About

It works on the Gymshark US store. Give it the size from Get Gymshark product. You get the bag after the change. A size that is out of stock, or that is not a size of that product, fails and adds nothing. No account is needed.

## Run it

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

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

## Input

- `product` (string, required): The product handle or its gymshark.com link.
- `variant_id` (integer, required): The size's variant_id from Get Gymshark product.
- `quantity` (integer, optional)

## Output

- `count` (integer, required)
- `lines` (array, required)
- `added_variant_id` (integer, required)
- `currency` (string, optional)
- `subtotal` (number, optional)

## FAQ

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

Add a product of the Gymshark US store (www.gymshark.com) to this browser's bag in the size given by its variant_id, and return the bag. A size that is out of stock or not of that product fails with an error and adds nothing.

### How do I automatically add to Gymshark cart on gymshark.com?

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

### Is there a gymshark.com API to add to Gymshark cart?

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

### What information do I need to provide?

Required: product, variant_id. Optional: quantity.

### What does it return?

It returns count, lines, currency, subtotal, added_variant_id.

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

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

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

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

### How do I run it?

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

### Who maintains it?

It is one of Reduck's official scripts.

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