6 REST Endpoints · 4 MCP Tools @inContext US / GB / DE / CA Published Dec 6, 2026 9 min read

Shopify SKU Variant Inventory & Multi-Market Price Monitoring API Guide

Independent DTC brands rarely price identically across regions—and static storefront JSON endpoints miss localized Shopify Markets currencies, variant-level inventory counts, and third-party review widgets. This engineering playbook covers all 6 Shopify REST endpoints for capturing real-time SKU stock levels, US/GB/DE/CA price gaps, and Judge.me / Yotpo / Okendo GDPR 0-PII reviews.

6 POST
Store detail, catalog, product detail, market, inventory & reviews
US/GB/DE/CA
Exact Shopify Markets @inContext localized currency & VAT pricing
SKU Delta
Disclosed variant quantities for stockout & sell-through tracking
Auto Reviews
Judge.me, Yotpo & Okendo detection with 0-PII default

1. Complete Reference: All 6 Shopify REST Endpoints

All Shopify routes are served under https://api.upp3.com via JSON POST bodies, authenticated with X-API-Key: YOUR_EDGEDATA_API_KEY (or RapidAPI proxy headers). Every endpoint accepts either a store + handle pair or a full public product url, enforces strict SSRF protection, and supports mode="raw" or mode="summary".

Endpoint Key JSON Body Fields Engineering Use Case
POST/v1/shopify/stores/detail store*, mode Verify custom domain, base currency, country, and storefront metadata before crawling.
POST/v1/shopify/stores/products store*, cursor, limit (1..250), mode Cursor-paginate complete product catalogs, handles, base prices, and variants.
POST/v1/shopify/products/detail store / url / handle, mode Pull structured product specs, variant option matrices, descriptions, and media.
POST/v1/shopify/products/market store / url / handle, country, language, mode Evaluate Shopify Markets localized prices, FX/VAT spreads, selling plans, and regional availability.
POST/v1/shopify/products/inventory store / url / handle, country, language, mode Inspect live SKU variant availability and disclosed inventory quantities for stockout alerts.
POST/v1/shopify/products/reviews store / url / handle, app, cursor, limit, include_personal_data Auto-detect Judge.me, Yotpo, or Okendo review feeds with GDPR 0-PII output by default.

2. Tracking Shopify Markets Multi-Country Price Gaps (US / GB / DE / CA)

Global DTC brands using Shopify Markets routinely apply localized pricing tiers rather than naive FX conversion: UK (GB) and Germany (DE) listings often bake in 19–20% VAT plus psychological rounding (e.g., €115.00 vs $110.00), while Canada (CA) may carry distinct duty adjustments or regional SKU exclusions.

Calling POST /v1/shopify/products/market with an ISO-2 country and language executes the storefront’s @inContext localization rules directly—no geo-located residential proxies or currency-cookie hacks required.

cURL · Compare Localized Germany (DE) Market Pricing
curl -sS -X POST "https://api.upp3.com/v1/shopify/products/market" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_EDGEDATA_API_KEY" \
  -d '{
    "store": "allbirds.com",
    "handle": "mens-wool-runners",
    "country": "DE",
    "language": "DE",
    "mode": "summary"
  }'

3. SKU-Level Variant Inventory & Multi-Market Price Monitor (Python)

Pairing POST /v1/shopify/products/market with POST /v1/shopify/products/inventory unlocks two high-margin B2B datasets: (1) cross-border price parity dashboards across US, GB, DE, and CA, and (2) variant-level stockout & sell-through tracking. By snapshotting disclosed inventory_quantity values daily, you detect best-selling sizes before they sell out and spot competitor restock waves immediately.

Python · Multi-Market Price Matrix + SKU Stockout Detector
import requests

BASE_URL = "https://api.upp3.com"
HEADERS = {
    "Content-Type": "application/json",
    "X-API-Key": "YOUR_EDGEDATA_API_KEY",
}

STORE = "allbirds.com"
HANDLE = "mens-wool-runners"
MARKETS = [("US", "EN"), ("GB", "EN"), ("DE", "DE"), ("CA", "EN")]

# 1. Inspect store profile metadata
store_meta = requests.post(
    f"{BASE_URL}/v1/shopify/stores/detail",
    headers=HEADERS,
    json={"store": STORE, "mode": "summary"},
    timeout=30,
).json()
print("Store verified:", store_meta.get("store") or STORE)

# 2. Fetch @inContext localized pricing across 4 target markets
market_prices = {}
for country, lang in MARKETS:
    r = requests.post(
        f"{BASE_URL}/v1/shopify/products/market",
        headers=HEADERS,
        json={
            "store": STORE,
            "handle": HANDLE,
            "country": country,
            "language": lang,
            "mode": "summary",
        },
        timeout=30,
    )
    r.raise_for_status()
    market_prices[country] = r.json()

# 3. Fetch real-time SKU variant inventory & flag low-stock / OOS variants
inv_resp = requests.post(
    f"{BASE_URL}/v1/shopify/products/inventory",
    headers=HEADERS,
    json={"store": STORE, "handle": HANDLE, "country": "US", "mode": "raw"},
    timeout=30,
)
inv_resp.raise_for_status()
inv_data = inv_resp.json()

low_stock = []
for v in inv_data.get("variants", []):
    qty = v.get("inventory_quantity")
    if not v.get("available") or (isinstance(qty, int) and qty <= 15):
        low_stock.append((v.get("sku"), v.get("title"), v.get("available"), qty))

print("Markets compared:", list(market_prices.keys()))
print("Low-stock / OOS SKUs:", low_stock[:10])

4. Catalog Pagination & Auto-Detected Judge.me / Yotpo / Okendo Reviews (Node.js)

Unlike centralized marketplaces, Shopify DTC brands embed different review vendors across themes—most commonly Judge.me, Yotpo, and Okendo. Writing and maintaining three separate widget parsers breaks whenever a store switches apps.

With POST /v1/shopify/products/reviews and "app": "auto", EdgeData automatically inspects the product page, resolves the active widget provider, normalizes star ratings and review bodies, and strips all reviewer PII keys by default (include_personal_data: false) so your analytics warehouse remains GDPR-compliant out of the box.

Node.js · Paginated Catalog + Auto-Detected GDPR 0-PII Reviews
const BASE = "https://api.upp3.com";
const HEADERS = {
  "Content-Type": "application/json",
  "X-API-Key": "YOUR_EDGEDATA_API_KEY",
};

async function postJson(path, body) {
  const res = await fetch(`${BASE}${path}`, {
    method: "POST",
    headers: HEADERS,
    body: JSON.stringify(body),
  });
  if (!res.ok) throw new Error(`${path} failed with HTTP ${res.status}`);
  return res.json();
}

// 1. Pull first 50 catalog items with cursor pagination support
const catalog = await postJson("/v1/shopify/stores/products", {
  store: "allbirds.com",
  limit: 50,
  mode: "summary",
});

// 2. Inspect full product detail + auto-detect Judge.me / Yotpo / Okendo reviews
const detail = await postJson("/v1/shopify/products/detail", {
  store: "allbirds.com",
  handle: "mens-wool-runners",
  mode: "summary",
});

const reviews = await postJson("/v1/shopify/products/reviews", {
  store: "allbirds.com",
  handle: "mens-wool-runners",
  app: "auto",
  limit: 25,
  include_personal_data: false, // GDPR 0-PII default
  mode: "summary",
});

console.log({
  catalogNextCursor: catalog.next_cursor ?? null,
  productTitle: detail.title ?? detail.summary?.title,
  detectedWidget: reviews.app ?? reviews.provider ?? "auto",
});
Built-In SSRF Protection for Arbitrary Store Domains

When building multi-tenant SaaS tools where end users enter competitor Shopify domains, accepting arbitrary URLs creates SSRF risk. Every EdgeData Shopify endpoint enforces HTTPS-only validation and DNS IP filtering to block private, loopback, link-local, and cloud metadata destinations automatically.

5. Wiring Shopify Tools Directly Into AI Agents via MCP

Need Claude Desktop, Cursor, or a merchandising copilot to audit competitor DTC stores conversationally? Use the 4 native Shopify MCP tools (shopify_get_store_products, shopify_get_product_market, shopify_get_product_inventory, shopify_get_reviews) over https://mcp.upp3.com/mcp:

MCP JSON · shopify_get_product_market Tool Invocation
{
  "tool": "shopify_get_product_market",
  "arguments": {
    "store": "allbirds.com",
    "handle": "mens-wool-runners",
    "country": "GB",
    "language": "EN",
    "mode": "summary"
  }
}

6. Technical Comparison: Headless Scrapers vs Storefront JSON Polling vs Managed Shopify API

Engineering teams evaluating Shopify competitor intelligence typically weigh three approaches. Here is how they compare objectively across reliability, coverage, and compliance:

Engineering Factor Self-Maintained Headless Scrapers Storefront JSON Polling Managed EdgeData Shopify API
Multi-Market @inContext Pricing Requires geo-IP proxies + country switcher DOM clicks per theme. Usually returns store default currency only; misses market price lists. Native ISO country + language evaluation across US, GB, DE, CA, AU, JP & more.
SKU Variant Inventory Quantities Brittle cart-probe DOM hacks easily disrupted by theme updates. Often exposes boolean availability without disclosed unit quantities. Dedicated /products/inventory endpoint with normalized SKU stock signals.
Review Widget Coverage Must parse separate DOM iframes for Judge.me, Yotpo, and Okendo. Not included in Shopify storefront product JSON endpoints. app="auto" resolves Judge.me, Yotpo & Okendo into one schema.
GDPR 0-PII & SSRF Security Requires custom PII scrubber + egress proxy firewalling. Requires custom DNS SSRF guardrails on arbitrary user domains. include_personal_data=false + strict DNS/IP SSRF blocking built in.
LLM Token Efficiency Raw HTML / large JSON payloads bloat agent context windows. Verbose raw catalog JSON requires custom field projection. mode="summary" cuts token usage ~80% + 4 native MCP tools.
Maintenance Overhead High — headless browser fleets, proxies, and per-theme selectors. Medium — misses markets, inventory depth, and review widgets. Low — single versioned OpenAPI 3.1 contract across any public store.

Probe Any Public Shopify Storefront Live

Test SKU variant inventory and multi-country pricing instantly in our free browser tool, or integrate all 6 REST endpoints via RapidAPI or 0%-markup Direct Credit Packs.

7. Frequently Asked Questions

Can I monitor custom-domain Shopify stores without Storefront Admin API credentials?
Yes. All 6 EdgeData Shopify endpoints accept any public custom domain (for example allbirds.com) or full product URL without requiring merchant OAuth tokens or Admin API keys.
Why do Shopify Markets prices differ across US, GB, DE, and CA for the same product handle?
Brands using Shopify Markets apply regional rounding rules, FX buffers, local VAT or duty inclusion, and market-specific price lists. POST /v1/shopify/products/market evaluates @inContext localization for any 2-letter country and language code so you capture the exact shopper-facing price.
How can I estimate daily unit sell-through from POST /v1/shopify/products/inventory?
Snapshot each variant’s disclosed inventory_quantity on a fixed cadence (for example every 6 or 24 hours). Positive drops between consecutive snapshots represent net unit sell-through, while sudden upward jumps flag warehouse restocks.
How does POST /v1/shopify/products/reviews handle Judge.me, Yotpo, Okendo, and GDPR compliance?
Pass app="auto" (or explicitly specify judgeme, yotpo, or okendo) to auto-detect the embedded review widget and return a normalized review schema. By default, include_personal_data is false, completely removing reviewer names, emails, and profile PII keys.
How does EdgeData prevent SSRF when callers submit arbitrary store domains?
Every Shopify endpoint validates outbound HTTPS URLs and DNS resolution, rejecting private RFC 1918 networks, loopback addresses, link-local ranges, and cloud instance metadata IPs before any outbound connection is opened.