Skip to content

STOQ Docs

Preorders & back-in-stock for Shopify — REST APIs, the v2 action API, a JavaScript SDK, theme metafields, and an MCP server.

Last updated

STOQ

Preorders & back-in-stock for Shopify. Pick your path below, or browse a section from the top nav.

STOQ has a built-in MCP server. Connect it to Claude, ChatGPT or any MCP client and an assistant can read your waitlists, preorder orders and demand reports, and update your preorder offers. It reads before it writes and asks you to confirm each change; confirm especially before anything that charges a customer’s saved card.

  • MCP server URL: https://app.stoqapp.com/api/v2/external/mcp
  • Connect: add it as a custom connector in Claude or ChatGPT, then sign in with your store. The assistant registers itself; you never copy a key. Step-by-step: Connect AI assistants to STOQ.
  • Fallback: send the store’s API key as an X-Auth-Token header from a script. Never paste the key into a chat.
  • For agents: llms.txt · SKILL.md · OpenAPI v2 · OpenAPI v1 · MCP server docs

In the STOQ app, go to Back in stock alerts → Settings → Integrations → API (under Developer) and copy the key. Send it in the X-Auth-Token header on every request — keep it secret.

Never expose your API key in browser/client code. For storefronts, the JavaScript SDK authenticates with your shop’s public Storefront API token instead.

Create a back-in-stock signup — the one public endpoint (no key; identified by the shop domain):

Terminal window
curl -X POST https://app.stoqapp.com/api/v1/intents.json \
-H "Content-Type: application/json" \
-H "X-Shopify-Shop-Domain: my-store.myshopify.com" \
-d '{ "intent": { "email": "shopper@example.com", "variant_id": 43900910010503 } }'

List your preorder offers with the action-driven v2 API (uses your key):

Terminal window
curl https://app.stoqapp.com/api/v2/external/preorders/offers \
-H "X-Auth-Token: $STOQ_API_KEY"

That’s it. From here, follow your path above — or see API Key and Rate Limits for the details.

Was this page helpful?

Still stuck? Ask Quinn or chat with support