App Logo
gap.com

Remove a product from the Gap cart

Automatically remove a product from the Gap cart on gap.com. Remove lines from the Gap US (gap.com) shopping bag of this browser and return the bag as the site holds it afterwards. Give lineId to remove one line, or offerId to remove every line of that size. Both come from List the items in the Gap cart. Returns removed (true when lines were removed, false when no line matched, and then nothing is changed), the number of units, the estimated total before tax and shipping, and each line left with its line id, product id, offer id, name, seller, quantity, unit price and line price in US dollars. Works as a guest, with no account.

Inputs

lineId optional

Line id of one bag line, from List the items in the Gap cart. Give lineId or offerId.

offerId optional

The sku of a size in the bag: every line of it is removed. Give lineId or offerId.

Output

count required
lines required
total required
removed required

FAQ

Remove lines from the Gap US (gap.com) shopping bag of this browser and return the bag as the site holds it afterwards. Give lineId to remove one line, or offerId to remove every line of that size. Both come from List the items in the Gap cart. Returns removed (true when lines were removed, false when no line matched, and then nothing is changed), the number of units, the estimated total before tax and shipping, and each line left with its line id, product id, offer id, name, seller, quantity, unit price and line price in US dollars. Works as a guest, with no account.
Ask an AI agent connected to Reduck to run reduck/gap.com/remove_from_cart, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/gap.com/remove_from_cart
You do not need one. "Remove a product from the Gap cart" drives the real gap.com pages in a browser, so it works whether or not gap.com offers an API for this.
Optional: lineId, offerId.
It returns count, lines, total, removed.
No. It only uses pages of gap.com that are reachable without signing in.
It makes changes on gap.com, like sending, posting, booking or buying something.
Ask an AI agent connected to Reduck to run reduck/gap.com/remove_from_cart, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/gap.com/remove_from_cart
It is one of Reduck's official scripts.

Start building not clicking