App Logo
ochsnersport.ch

Add a product to the Ochsner Sport cart

TL;DR

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.

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.

Inputs

product required

The Ochsner Sport product id (e.g. 67556) or its ochsnersport.ch product link.

offer_id required

offer_id of the size, from the variants of Get Ochsner Sport product.

quantity optional

Units to add, 1 to 10.

Default: 1

Output

cart required
offer_id required
product_id required
quantity_added required
name optional
size optional
line_id optional
line_price optional
unit_price optional
quantity_in_cart optional
quantity_requested optional

FAQ

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.
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
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.
Required: product, offer_id. Optional: quantity.
It returns cart, name, size, line_id, offer_id, line_price, product_id, unit_price, quantity_added, quantity_in_cart, quantity_requested.
No. It only uses pages of ochsnersport.ch that are reachable without signing in.
It makes changes on ochsnersport.ch, like sending, posting, booking or buying something.
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
It is one of Reduck's official scripts.

Start building not clicking