Target
Overview
Target.com — major US e-commerce retailer. Product search, detail, store availability, and cart management via internal Redsky aggregation and cart APIs.
Workflows
Search and inspect products
searchProducts(keyword) → browse results → tcin
getProductDetail(tcin) → full product info with variants
Check store availability
searchProducts(keyword) → pick product → tcin
getStoreAvailability(tcin, nearby) → stock levels, pickup times by store
Add to cart
searchProducts(keyword) → pick product → tcin
addToCart(tcin) → cart confirmation with pricing → cart_item_id
Remove from cart
addToCart(tcin) → note cart_item_id from response
removeFromCart(cart_item_id) → updated cart summary
Operations
| Operation |
Intent |
Key Input |
Key Output |
Notes |
| searchProducts |
search products by keyword |
keyword |
tcin, title, price, rating, images |
entry point; returns HTTP 206 |
| getProductDetail |
full product detail by TCIN |
tcin ← searchProducts |
title, description, price, ratings, variants, brand |
|
| getStoreAvailability |
per-store stock and pickup times |
tcin ← searchProducts, nearby (zip code) |
stock qty, pickup SLA, store name/address |
|
| addToCart |
add product to cart |
tcin ← searchProducts |
cart_id, cart_item_id, quantity, unit_price, fulfillment |
CAUTION: adds to cart only, never checkout |
| removeFromCart |
remove item from cart |
cart_item_id ← addToCart |
cart_id, total_cart_item_quantity, removed_cart_item_id |
CAUTION: reverses addToCart |
Quick Start
# Search for products
openweb target exec searchProducts '{"keyword": "headphones"}'
# Get full detail for a product
openweb target exec getProductDetail '{"tcin": "92750139"}'
# Check store availability near a zip code
openweb target exec getStoreAvailability '{"tcin": "91938794", "nearby": "95125"}'
# Add to cart then remove
openweb target exec addToCart '{"cart_item": {"tcin": "91252434"}}'
# → note cart_item_id from response
openweb target exec removeFromCart '{"cart_item_id": "<cart_item_id>"}'
1---2name: target3description: Target4---5# Target67## Overview8Target.com — major US e-commerce retailer. Product search, detail, store availability, and cart management via internal Redsky aggregation and cart APIs.910## Workflows1112### Search and inspect products131. `searchProducts(keyword)` → browse results → `tcin`142. `getProductDetail(tcin)` → full product info with variants1516### Check store availability171. `searchProducts(keyword)` → pick product → `tcin`182. `getStoreAvailability(tcin, nearby)` → stock levels, pickup times by store1920### Add to cart211. `searchProducts(keyword)` → pick product → `tcin`222. `addToCart(tcin)` → cart confirmation with pricing → `cart_item_id`2324### Remove from cart251. `addToCart(tcin)` → note `cart_item_id` from response262. `removeFromCart(cart_item_id)` → updated cart summary2728## Operations2930| Operation | Intent | Key Input | Key Output | Notes |31|-----------|--------|-----------|------------|-------|32| searchProducts | search products by keyword | keyword | tcin, title, price, rating, images | entry point; returns HTTP 206 |33| getProductDetail | full product detail by TCIN | tcin ← searchProducts | title, description, price, ratings, variants, brand | |34| getStoreAvailability | per-store stock and pickup times | tcin ← searchProducts, nearby (zip code) | stock qty, pickup SLA, store name/address | |35| addToCart | add product to cart | tcin ← searchProducts | cart_id, cart_item_id, quantity, unit_price, fulfillment | CAUTION: adds to cart only, never checkout |36| removeFromCart | remove item from cart | cart_item_id ← addToCart | cart_id, total_cart_item_quantity, removed_cart_item_id | CAUTION: reverses addToCart |3738## Quick Start3940```bash41# Search for products42openweb target exec searchProducts '{"keyword": "headphones"}'4344# Get full detail for a product45openweb target exec getProductDetail '{"tcin": "92750139"}'4647# Check store availability near a zip code48openweb target exec getStoreAvailability '{"tcin": "91938794", "nearby": "95125"}'4950# Add to cart then remove51openweb target exec addToCart '{"cart_item": {"tcin": "91252434"}}'52# → note cart_item_id from response53openweb target exec removeFromCart '{"cart_item_id": "<cart_item_id>"}'54```