Discover
Read the public capability document or OpenAPI spec. These endpoints need no account, token, or API key.
Developers & AI agents
Start with zero-auth service discovery, then connect an MCP client through OAuth 2.1 to work with discounts on one authorized Shopify store.
$ curl https://www.aiodapp.com/api/v1/agent-capabilities
# No API key required for discovery
# Store actions continue through OAuth-protected MCP
Read the public capability document or OpenAPI spec. These endpoints need no account, token, or API key.
Give your MCP client the server URL. OAuth 2.1 with PKCE opens Shopify authorization for the single store you choose.
Draft without creating anything, or publish in test mode for the store's test email. The MCP server cannot make a discount live or delete it.
Public REST discovery
The REST surface describes how to connect. Store-specific reads and writes stay behind the MCP server and its aiod:discounts scope.
/api/v1/health Verify that the public discovery API is available.
/api/v1/agent-capabilities Discover the MCP endpoint, OAuth metadata, supported protocol revisions, capabilities, and safety limits.
/openapi.json Read the OpenAPI 3.1 contract, schemas, OAuth scope, and versioning policy.
/.well-known/mcp/server-card.json Read AIOD's experimental MCP Server Card and remote connection details.
/.well-known/api-catalog Discover the REST and MCP surfaces through an RFC 9727 Linkset.
/.well-known/ard.json Discover AIOD's API, MCP server, and agent skill through ARD.
/.well-known/agent-skills/index.json Find AIOD's reusable Shopify discount skill and Agent Plugin bundle.
Protected MCP service
https://aiod-automatic-discount.com/mcp aiod:discountsStable REST discovery endpoints use a major version in the URL, beginning with /api/v1/. Breaking contract changes ship under a new major path.
When AIOD schedules an endpoint retirement, responses will use the standardized Deprecation header and, once a removal date exists, the Sunset header. Unversioned URLs remain compatibility aliases today.