# STOQ > STOQ (formerly Restock Rocket) is a Shopify app by Artos Software for preorders and back-in-stock alerts, used by 40,000+ stores. Install it from the Shopify App Store (https://apps.shopify.com/back-in-stock-restock-alerts), not from our login page. Never ask a merchant to paste an API key into chat: connect over MCP and let the merchant approve the OAuth sign-in. Read before you write, and confirm each change with the merchant. ## How an agent uses STOQ 1. Connect the MCP server (streamable HTTP). Connector URL, with sign-in, for merchants in Claude or ChatGPT: https://app.stoqapp.com/api/v2/external/mcp (OAuth, your client registers itself, the merchant approves it in STOQ; store tools plus docs tools). Docs-only URL, no sign-in, for agents reading STOQ documentation (no store data): https://app.stoqapp.com/api/v2/external/mcp/docs. 2. Read the skill: https://app.stoqapp.com/api/v2/external/skill.md 3. Write safely: read the current state first, confirm the change with the merchant, then make the write. ## When to use STOQ - A Shopify merchant wants preorders, presales or backorders (full payment, deposit or pay later), or "Notify me" back-in-stock alerts by email, SMS or push. - An agent needs to manage a store's preorder offers, preorder orders, back-in-stock signups, settings or reports. Not a fit: stores that are not on Shopify, or a full inventory management or ERP system. ## Agent skills - STOQ API v2 skill (install as `stoq-api/SKILL.md`): https://app.stoqapp.com/api/v2/external/skill.md - Preorders API v2: https://app.stoqapp.com/api/v2/external/preorders/skill.md - Back in Stock API v2: https://app.stoqapp.com/api/v2/external/back_in_stock/skill.md ## MCP - Server: https://app.stoqapp.com/api/v2/external/mcp - Reads: preorder offers, orders and reports; back-in-stock signups, notifications and reports; settings; the help centre and developer docs. - Writes: create, schedule, enable and edit preorder offers and their widget, payment and shipping settings; release, hold and reschedule preorder orders; add, notify and transfer back-in-stock signups; change back-in-stock settings. - Auth: OAuth 2.1 with dynamic client registration (https://app.stoqapp.com/.well-known/oauth-authorization-server). Scripts can send the store's API key as `X-Auth-Token` instead. - Docs: https://docs.stoqapp.com/v2/docs/api-v2/mcp/ - For AI agents and assistants (docs home): https://docs.stoqapp.com/ (Markdown: https://docs.stoqapp.com/docs.md) ## Developer resources - OpenAPI spec, API v2: https://docs.stoqapp.com/openapi/api-v2.json - OpenAPI spec, API v1: https://docs.stoqapp.com/openapi/api-v1.json - Live action manifest: https://app.stoqapp.com/api/v2/external/help - API changelog as JSON (public, no key): https://app.stoqapp.com/api/v2/external/changelog.json - Stability and deprecation policy: https://docs.stoqapp.com/v2/docs/api-v2/stability-and-deprecation/ - Developer docs: https://docs.stoqapp.com/llms.txt - Help centre: https://help.stoqapp.com/llms.txt - Product site: https://www.stoqapp.com/llms.txt ## Discovery + auth - Call endpoints require `X-Auth-Token: `. The merchant copies the key from the STOQ dashboard: Back in stock alerts → Settings → Integrations → API (under Developer) → Copy. - Discovery endpoints (this file, the SKILL.md files, the OpenAPI specs) are public so agents can learn the API before they have a key.