API reference · Area

Sign-in and platform

Include your key or token in Authorization: Bearer. Use GET /me to check the connected account and its permissions.

3 endpointsStable throughout v1Updated 21 Nov 2026
Required 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

2 endpoints

Create records

1 endpoints

Stuck?

Chip, the OrderPilot beaver

Send us your request, the response and the time you sent it. Remove your key before sharing.

Email support[email protected]