App Logo
gap.com

Get Gap product

Automatically get Gap product on gap.com. Get one product of the Gap US store (gap.com) from its id or its product page link: the product id, name, brand, description and detail lines, rating and rating count, the fits (for example Regular, Tall, Petite) and size labels, every color with its id, name, price, regular price, stock status and image, and every size variant with its offerId (the sku), color, fit, size, price, regular price in US dollars and stock. Pass offerId and productId to Add a product to the Gap cart. A product page can hold several colors that Gap names differently: name is the name of the color the page shows (selectedColorId), and each color has its own title. An id or link that Gap does not know fails with a message that says so.

Inputs

url optional

Link of a Gap product page, for example https://www.gap.com/browse/product.do?pid=403540002. Give productId or url.

productId optional

Gap product id (for example "403540"), color id (for example "403540002") or sku (offerId), as returned by Search Gap products or Get Gap product. Give productId or url.

Output

url required
name required
colors required
variants required
productId required
selectedColorId required
fits optional
brand optional
rating optional
details optional
sizeLabels optional
description optional
reviewCount optional

FAQ

Get one product of the Gap US store (gap.com) from its id or its product page link: the product id, name, brand, description and detail lines, rating and rating count, the fits (for example Regular, Tall, Petite) and size labels, every color with its id, name, price, regular price, stock status and image, and every size variant with its offerId (the sku), color, fit, size, price, regular price in US dollars and stock. Pass offerId and productId to Add a product to the Gap cart. A product page can hold several colors that Gap names differently: name is the name of the color the page shows (selectedColorId), and each color has its own title. An id or link that Gap does not know fails with a message that says so.
Ask an AI agent connected to Reduck to run reduck/gap.com/get-product, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/gap.com/get-product
You do not need one. "Get Gap product" drives the real gap.com pages in a browser, so it works whether or not gap.com offers an API for this.
Optional: url, productId.
It returns url, fits, name, brand, colors, rating, details, variants, productId, sizeLabels, description, reviewCount, selectedColorId.
No. It only uses pages of gap.com that are reachable without signing in.
It only reads. It looks things up on gap.com and changes nothing there.
Ask an AI agent connected to Reduck to run reduck/gap.com/get-product, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/gap.com/get-product
It is one of Reduck's official scripts.

Start building not clicking