Connect your systems to OrderPilot
Connect your systems to read and update quotes, orders and customers. Receive updates when things change, or ask your AI agent to work in OrderPilot for you.
# Who am I, and what may this key do? curl https://api.meetorderpilot.com/connect/v1/me \ -H "Authorization: Bearer opk_••••••••3f9a"
// Who am I, and what may this key do? const res = await fetch('https://api.meetorderpilot.com/connect/v1/me', { headers: { Authorization: 'Bearer ' + process.env.ORDERPILOT_API_KEY }, }); console.log(res.status, await res.json());
# Who am I, and what may this key do? import os import requests res = requests.get( 'https://api.meetorderpilot.com/connect/v1/me', headers={'Authorization': 'Bearer ' + os.environ['ORDERPILOT_API_KEY']}, ) print(res.status_code, res.json())
{
"shop": "harlow-and-finch.myshopify.com",
"caller": {
"type": "api_key",
"id": "key_7HQ2",
"name": "Accounting sync",
"last_four": "3f9a",
"scopes": ["QUOTES_READ", "ORDERS_READ"],
"all_locations": true
},
"can": {
"read_quotes": true, "read_orders": true,
"read_customers": false, "read_product_templates": false
},
"client": null
}Start using the API
Four short guides, about 20 minutes in allGET /me with your key to check the connection.Step 4 · 10 minReceive updatesSet up a webhook to hear about changes without asking.Choose how to connect
Your system or agent can only do what your store allows. Payments, refunds, emails and deletions each need separate permission. All payments and refunds go through Shopify.
The REST API
Connect your business software, accounting system, custom storefront or app. Send JSON over HTTPS, use a separate key for each system and receive changes through webhooks.
- 641 endpoints for quotes, orders, customers, purchase orders and more
- Download the OpenAPI file to generate a clientImport the OpenAPI file into Postman, Insomnia or another OpenAPI tool.
- Verify webhook signatures, with delivery retries for about nine hours
Your AI agent
Paste one prompt into Claude Code, Cursor or Codex, or add OrderPilot to Claude.ai or ChatGPT. Then ask, “Which quotes are waiting for a signature?” You don’t need to write code.
- Approve the connection once in your Shopify admin
- The agent reaches only what you approve
- The agent is told to ask before sending emails, taking payments, issuing refunds or deleting records
Explore the API
Read your quotes
Include your key as a bearer token in every request. Lists return 25 records at a time, with the most recently changed first.
- 1Copy your key from Settings › API and integrations when you create it. You won’t see it again.
- 2Send the request with a key that has Read quotes permission.
- 3To get the next page, send
next_cursorascursor.
curl https://api.meetorderpilot.com/connect/v1/quotes?limit=2 \ -H "Authorization: Bearer opk_••••••••3f9a"
const res = await fetch('https://api.meetorderpilot.com/connect/v1/quotes?limit=2', { headers: { Authorization: 'Bearer ' + process.env.ORDERPILOT_API_KEY }, }); console.log(res.status, await res.json());
import os import requests res = requests.get( 'https://api.meetorderpilot.com/connect/v1/quotes?limit=2', headers={'Authorization': 'Bearer ' + os.environ['ORDERPILOT_API_KEY']}, ) print(res.status_code, res.json())
{
"items": [
{
"id": "qt_8KX2M4",
"number": "Q-1048",
"status": "Awaiting signature",
"status_id": "st_awaiting_signature",
"status_group": "quote",
"customer": { "id": "cus_51PR", "name": "Priya Shah" },
"total": 4050.00,
"currency": "USD",
"created_at": "2026-11-12T10:05:31Z",
"updated_at": "2026-11-18T15:42:09Z"
}
],
"next_cursor": "c_Q2xvc2VyX3Rv"
}
Stuck?
Send us your request, the response and the time you sent it. Remove your key before sharing.