{"slug": "let-your-agent-watch-apple-store-pickup-for-you", "title": "Let Your Agent Watch Apple Store Pickup For You", "summary": "A developer configurator published by Jake Marsh generates a prompt that lets an AI agent such as Claude Code poll Apple's public in-store pickup availability URL every 30 seconds across the 12 nearest Apple Stores and every requested part number in a single request, alerting the user only when a device is genuinely in stock. The prompt counts an item as available only when both the pickupDisplay and storeSelectionEnabled fields say yes, since checking one field alone produces false alarms, and it instructs the agent to re-check once on a hit, report failed checks as failures rather than as out-of-stock, and never order, reserve or add anything to a bag. Marsh notes that as of writing, none of the eight iPhone Duo configurations were available at any of the 12 Apple Stores nearest New York, Dallas or San Francisco, and that the same URL approach works for other Apple products such as iPads and AirPods by swapping in their part numbers.", "body_md": "# Let Your Agent Watch Apple Store Pickup For You\n\n[Jake Marsh](https://deallocatedobjects.com/about)\n\nAs I write this, you can’t pick up an iPhone Duo at any of the 12 Apple Stores nearest New York, Dallas or San Francisco. Every one of the eight configurations says “Currently unavailable” at every store. When units do turn up, the trick is noticing before they’re gone.\n\nApple’s online store has a public web address for in-store pickup availability, and it answers for the dozen nearest stores and every model you ask about in a single request. That’s a perfect job for an agent: check it every 30 seconds, stay quiet, and tap you on the shoulder the moment something is really ready.\n\nSo here’s a little configurator. Pick what you want, copy the prompt, and paste it to Claude Code or any agent that can run a small script in the background.\n\nYour agent should answer with one sentence confirming exactly what it’s watching, then go quiet until there’s something to tell you.\n\n## How It Works[#](#how-it-works)\n\nThe URL in the prompt looks like this:\n\n`location` can be a city and state or a ZIP code (a city name on its own gets an error back). Apple decides what “near” means: it always returns the 12 closest stores, so near Dallas the list reaches all the way to Houston, Austin and Oklahoma City. Each `parts.N` is a part number, and every storage and color combination has its own: `MK1G4LL/A` is the 512GB Star White, `MK1L4LL/A` is the 1TB Night Sky, and so on. The carrier gets picked at checkout, so one part number covers all of them. The reply lists the nearest stores, and under each one, every part you asked about.\n\nThe part that matters is deciding what “available” means. Every store and part comes back with a `pickupDisplay` and a `storeSelectionEnabled` flag, and the prompt only counts it when **both** say yes. While testing this I asked about a few accessories near Dallas: chargers that were in stock came back `available` with selection enabled, and a case that can’t be picked up came back `ineligible` with selection turned off. Checking one field alone gets you false alarms.\n\nThe prompt also asks your agent for a few manners:\n\n- **One request per check.** Every store and every configuration in one call, from a small background script, instead of a full agent turn every 30 seconds.\n- **Quiet until it matters.** No “still nothing” updates. A failed check (an error or a reply it can’t read) is reported as a failed check, never as “out of stock.”\n- **Double check, then tell you.** On a hit it asks once more, then sends you the store, the configuration, Apple’s own wording (like “Tomorrow at Apple Knox Street”) and the buy link.\n- **Alert only.** It never orders, reserves or adds anything to a bag. You check out yourself.\n\n## Or Run The Check Yourself[#](#or-run-the-check-yourself)\n\nIf you’d rather see it work first, here’s the same check as a small script. It prints one line per store that can hand you the phone, prints nothing when nobody can, and exits with 3 when the check itself fails:\n\nWrap it in a loop with a `sleep 30` and you’ve got your own watcher. The agent version is nicer, though: it notices when something’s there, double checks, and tells you in words.\n\nThe same trick works for anything Apple sells with in-store pickup. Swap in the part numbers for an iPad or a pair of AirPods and the URL works exactly the same way.", "url": "https://wpnews.pro/news/let-your-agent-watch-apple-store-pickup-for-you", "canonical_source": "https://deallocatedobjects.com/posts/let-your-agent-watch-apple-store-pickup", "published_at": "2026-10-28 02:21:05+00:00", "updated_at": "2026-10-28 02:42:51.212778+00:00", "lang": "en", "topics": ["ai-agents", "ai-tools", "ai-products"], "entities": ["Apple", "Jake Marsh", "Claude Code", "iPhone Duo", "Apple Store"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/let-your-agent-watch-apple-store-pickup-for-you", "markdown": "https://wpnews.pro/news/let-your-agent-watch-apple-store-pickup-for-you.md", "text": "https://wpnews.pro/news/let-your-agent-watch-apple-store-pickup-for-you.txt", "jsonld": "https://wpnews.pro/news/let-your-agent-watch-apple-store-pickup-for-you.jsonld"}}