App Logo
staples.com

Add a product to the Staples cart

Automatically add a product to the Staples cart on staples.com. Add a Staples product to the cart, for delivery, in the quantity asked. Returns the cart after the add, with the line of the product and how many units were added.

Inputs

product required

Staples item number (e.g. 2599373) or product page link.

variant optional

Item number of the variant to add (a color, a size), from the variants of get-product. Needed when the product is a group of variants.

quantity optional

Units to add.

Default: 1

Output

name optional
added optional

Units this call added to the cart.

count optional

Units in the cart.

lines optional
total optional

Item subtotal, without tax or shipping.

offerId optional
productId optional

FAQ

Add a Staples product to the cart, for delivery, in the quantity asked. Returns the cart after the add, with the line of the product and how many units were added.
Ask an AI agent connected to Reduck to run reduck/staples.com/add_to_cart, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/staples.com/add_to_cart
You do not need one. "Add a product to the Staples cart" drives the real staples.com pages in a browser, so it works whether or not staples.com offers an API for this.
Required: product. Optional: variant, quantity.
It returns name, added, count, lines, total, offerId, productId.
No. It only uses pages of staples.com that are reachable without signing in.
It makes changes on staples.com, like sending, posting, booking or buying something.
Ask an AI agent connected to Reduck to run reduck/staples.com/add_to_cart, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/staples.com/add_to_cart
It is one of Reduck's official scripts.

Start building not clicking