# Add a product to the Ochsner Sport cart

Automatically add a product to the Ochsner Sport cart on ochsnersport.ch. Add one size of an Ochsner Sport product to your cart, with prices in Swiss francs.

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

## About

Give the product and the size id, both from the Get Ochsner Sport product script, and a quantity from 1 to 10. When the store has fewer units than you ask, it adds only those it has and tells you how many. You get the line and the whole cart afterwards. 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/ochsnersport.ch/add_to_cart`, or run it from a terminal:

```bash
npx @reduck-ai/cli@latest run --script reduck/ochsnersport.ch/add_to_cart
```

## Input

- `product` (string, required): The Ochsner Sport product id (e.g. 67556) or its ochsnersport.ch product link.
- `offer_id` (string, required): offer_id of the size, from the variants of Get Ochsner Sport product.
- `quantity` (integer, optional): Units to add, 1 to 10.

## Output

- `cart` (object, required)
- `offer_id` (string, required)
- `product_id` (string, required)
- `quantity_added` (integer, required)
- `name` (string | null, optional)
- `size` (string | null, optional)
- `line_id` (string | null, optional)
- `line_price` (number | null, optional)
- `unit_price` (number | null, optional)
- `quantity_in_cart` (integer, optional)
- `quantity_requested` (integer, optional)

## FAQ

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

Add one size of an Ochsner Sport (ochsnersport.ch, Switzerland) product to the cart of this browser, as a guest. Pass the product id or link and the offer_id of the size, both from Get Ochsner Sport product, and a quantity from 1 to 10. Adding a size already in the cart raises its quantity; when Ochsner Sport has fewer units in stock than asked, it adds only those it has, and quantity_added says how many. Returns the line (line id, size, quantity, unit and line price in Swiss francs) and the cart afterwards, with each line's review_hash for Remove a product from the Ochsner Sport cart. An unknown product or an offer_id of another product fails with a message that says so and adds nothing. Nothing is paid or ordered.

### How do I automatically add a product to the Ochsner Sport cart on ochsnersport.ch?

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

### Is there a ochsnersport.ch API to add a product to the Ochsner Sport cart?

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

### What information do I need to provide?

Required: product, offer_id. Optional: quantity.

### What does it return?

It returns cart, name, size, line_id, offer_id, line_price, product_id, unit_price, quantity_added, quantity_in_cart, quantity_requested.

### Do I need to be logged in to ochsnersport.ch?

No. It only uses pages of ochsnersport.ch that are reachable without signing in.

### Does it change anything on ochsnersport.ch, or only read data?

It makes changes on ochsnersport.ch, like sending, posting, booking or buying something.

### How do I run it?

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

### Who maintains it?

It is one of Reduck's official scripts.

Source: https://reduck.ai/explore/scripts/reduck/ochsnersport.ch/add_to_cart
