Sign-in and platform
Include your key or token in Authorization: Bearer. Use GET /me to check the connected account and its permissions.
Set up access
Create an API key
A Store administrator creates the key in Settings › API and integrations and chooses its permissions. Keys start with opk_. Save yours when it appears; it’s shown only once.
Connect an AI agent
The agent requests access through the OAuth device flow or OAuth 2.1 with PKCE. A Store administrator approves it in the Shopify admin. Follow Connect your AI agent. If the agent can’t keep its key after the conversation, access expires 24 hours after its last use.
Get the API and sign-in details
Download the API definition from GET /openapi.json without a key. OAuth clients can read the sign-in details at /.well-known/oauth-authorization-server.
Check the store’s plan
API keys and AI agents require the Professional plan. Requests from stores on other plans return 403 PLAN_REQUIRED.
Find records
Create records
Guides for your integration
next_cursor and updated_since, and track quotes that become orders.Retry without duplicate changesUse Idempotency-Key, retrieve responses for 24 hours and handle 409 OUTCOME_UNKNOWN.Receive updates through webhooksTrack changes to sales, customers, payments, Inbox messages, purchase orders and warranty claims.Stuck?

Send us your request, the response and the time you sent it. Remove your key before sharing.
Email support[email protected]