App Logo
bananarepublic.gap.com

Add a product to the Banana Republic cart

Automatically add a product to the Banana Republic cart on bananarepublic.gap.com. Add a size of a Banana Republic US (bananarepublic.gap.com) product to the shopping bag of this browser, for shipping, and return the bag as the site holds it afterwards. Give the product id or link and the offerId of the size, both from Get Banana Republic product, and a quantity from 1 to 5. Returns the product id, offer id, name, the number of units added, and the bag: the number of units, the estimated total before tax and shipping, and each line with its line id, product id, offer id, name, seller, quantity, unit price and line price in US dollars. Banana Republic can show units of one size on several lines, for example when an offer prices them differently. Works as a guest, with no account: lines already in the bag stay and are listed too. Nothing is paid or ordered. A product that Banana Republic does not know, a missing or unknown offerId, an out of stock size, or a quantity out of range fails with a message that says so, and adds nothing.

Inputs

productId required

Banana Republic product id, color id or product page link, as returned by Search Banana Republic products or Get Banana Republic product.

offerId optional

The sku of the size to add, from the variants of Get Banana Republic product. Needed when the product has more than one size.

quantity optional

Number of units to add, 1 to 5.

Default: 1

Output

name required
added required
count required
lines required
total required
offerId required
productId required

FAQ

Add a size of a Banana Republic US (bananarepublic.gap.com) product to the shopping bag of this browser, for shipping, and return the bag as the site holds it afterwards. Give the product id or link and the offerId of the size, both from Get Banana Republic product, and a quantity from 1 to 5. Returns the product id, offer id, name, the number of units added, and the bag: the number of units, the estimated total before tax and shipping, and each line with its line id, product id, offer id, name, seller, quantity, unit price and line price in US dollars. Banana Republic can show units of one size on several lines, for example when an offer prices them differently. Works as a guest, with no account: lines already in the bag stay and are listed too. Nothing is paid or ordered. A product that Banana Republic does not know, a missing or unknown offerId, an out of stock size, or a quantity out of range fails with a message that says so, and adds nothing.
Ask an AI agent connected to Reduck to run reduck/bananarepublic.gap.com/add_to_cart, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/bananarepublic.gap.com/add_to_cart
You do not need one. "Add a product to the Banana Republic cart" drives the real bananarepublic.gap.com pages in a browser, so it works whether or not bananarepublic.gap.com offers an API for this.
Required: productId. Optional: offerId, quantity.
It returns name, added, count, lines, total, offerId, productId.
No. It only uses pages of bananarepublic.gap.com that are reachable without signing in.
It makes changes on bananarepublic.gap.com, like sending, posting, booking or buying something.
Ask an AI agent connected to Reduck to run reduck/bananarepublic.gap.com/add_to_cart, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/bananarepublic.gap.com/add_to_cart
It is one of Reduck's official scripts.

Start building not clicking