App Logo
vitacost.com

Add a product to the Vitacost cart

Automatically add a product to the Vitacost cart on vitacost.com. Add a vitacost.com product to the cart of this browser, from its id, Vitacost item number or product page link, in the quantity you give, and return the cart after the add.

Inputs

product required

Product id (from search-products), Vitacost item number, or a vitacost.com product page link.

quantity optional
Default: 1
variant_id optional

Variant id from get-product. Needed only when the product has more than one variant.

Output

name required
added required
count required
lines required
total required

Item subtotal after the store's automatic discounts, without tax or shipping.

offerId required

The variant id that was added.

productId required

FAQ

Add a vitacost.com product to the cart of this browser, from its id, Vitacost item number or product page link, in the quantity you give, and return the cart after the add.
Ask an AI agent connected to Reduck to run reduck/vitacost.com/add_to_cart, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/vitacost.com/add_to_cart
You do not need one. "Add a product to the Vitacost cart" drives the real vitacost.com pages in a browser, so it works whether or not vitacost.com offers an API for this.
Required: product. Optional: quantity, variant_id.
It returns name, added, count, lines, total, offerId, productId.
No. It only uses pages of vitacost.com that are reachable without signing in.
It makes changes on vitacost.com, like sending, posting, booking or buying something.
Ask an AI agent connected to Reduck to run reduck/vitacost.com/add_to_cart, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/vitacost.com/add_to_cart
It is one of Reduck's official scripts.

Start building not clicking