Connect your AI agent
Paste the prompt below into Claude Code, Cursor or Codex. Approve the connection in your Shopify admin, then ask your agent to work in OrderPilot.
- Paste the promptinto any AI agent
- Get a link and a numbershown in the agent’s chat
- Approvein your Shopify admin, check the number, click Approve
Connect yourself to OrderPilot, so you can work in my store. First read OrderPilot's agent brief: https://api.meetorderpilot.com/connect/agent-brief 1. Ask for access: POST https://api.meetorderpilot.com/connect/oauth/device_authorization with the form fields client_id (a short id for you), client_name (your name), keeps_key (yes if you can keep the key after this conversation, no if not) and scope=full. 2. Send me the link and the number from the answer in a reply, and tell me to click Approve. Then wait while I approve you. 3. Poll https://api.meetorderpilot.com/connect/oauth/token until I approve. The access_token is your own OrderPilot API key. Keep it secret. 4. To check the connection works, show me my five newest products in OrderPilot (Shopify products and product templates), saying which each is. If you can't send web requests from here, tell me how to add OrderPilot as a connector in this app with the address https://api.meetorderpilot.com/connect/mcp, or to paste this prompt into an agent that can.
Choose your store when the link opens. It takes you to OrderPilot in your Shopify admin, where a Store administrator must approve the connection.
403 PLAN_REQUIRED.What the agent can do
This prompt requests Full access with no end date (Forever). To choose different settings before copying it, use What the agent can do and Access lasts in Settings›API and integrations. When approving, a Store administrator can use Change to reduce access or shorten its duration.
| Access | What the agent can do |
|---|---|
| Read only | View quotes, orders, customers, products, purchase orders, Inbox conversations, warranty claims and reports. Cannot make changes or view costs. |
| Everyday work | Create and update quotes, orders, customers, purchase orders, Inbox conversations and warranty claims. Cannot record payments, issue refunds, delete records, change prices, view costs or send emails directly. Status changes may still send automatic emails. |
| Full access | Allows all actions available through the connection, including recording payments, issuing refunds, entering costs, sending emails and deleting records. |
| Import data only | Read the store and prepare imports for you to review. Nothing else. |
How long access lasts
Choose 30 days, 90 days, 1 year or Forever under Access lasts. The default is Forever. The agent uses keeps_key to say whether it can stay connected after this conversation.
If the agent can’t stay connected (keeps_key=no), access ends by default 24 h after its last use, or 24 hours after approval if its key is never used. You can choose a fixed end date instead. The connection appears as This conversation only in the key list.
When access expires, the agent receives “This API key expired on <date>. Connect again for a new key.” For an ongoing connection, add OrderPilot as a connector in your agent’s app.
Connect through your agent’s app
If your agent can’t connect directly, it will ask you to add OrderPilot as a connector. Open the agent app’s settings and add a custom connector with this address.
https://api.meetorderpilot.com/connect/mcp
Choose your store, then approve the connection in your Shopify admin. Connectors request Full access. A Store administrator can use Change to reduce that access. On a plan below Professional, the connection is approved as Import data only. You can also use the prompt with an agent that connects directly.
Copy a prompt with your store filled in
Copy the prompt from Settings›API and integrations to include your store. The approval link will open without asking you to choose it.
Connect your own software
Create an API key in Settings›API and integrations and choose what your software can do. Save the key when it appears; it’s shown only once. Follow Check your connection to send it as a bearer token, then use the API reference.
Available tools
OrderPilot offers 627 tools. Your agent sees only those you’ve allowed it to use. Tools cover all API key actions except 7 file actions that need a direct web request.
62 tools send emails, take payments, issue refunds, receive stock, commit you to a vendor or delete records. Each tells the agent to ask you before proceeding.
| Tool | Why approval is needed |
|---|---|
accept_order_changesAccept an order’s changes | Writes to the customer. |
accept_quote_changesAccept a quote’s changes | Writes to the customer. |
add_purchase_order_chargeAdd a purchase order charge | Units already received take their share at once. |
apply_order_open_itemApply an order’s open item | With a reply this writes to the customer. |
apply_product_template_importApply a template import | Writes templates, options and values into the store’s catalog. |
apply_quote_open_itemApply a quote’s open item | With a reply this writes to the customer. |
ask_warranty_vendorAsk the vendor about a claim | Emails the vendor. |
create_customer_fieldCreate a customer field | Changes what every customer form asks. |
create_quote_eligibility_groupCreate a quote rule group | Changes which products show Add to Quote on the storefront. |
create_warranty_replacementMake a free replacement | Makes a $0 order in Shopify for the new unit. |
decide_warranty_claimDecide a warranty claim | Commits the store. |
delete_bundleDelete a bundle | Can’t be undone. |
delete_customer_fieldDelete a customer field | Every customer form stops asking it (the values already on customers stay). |
delete_document_designDelete a PDF theme | Can’t be undone. |
delete_email_templateDelete an email template | Can’t be undone. |
delete_product_templateDelete a template | Can’t be undone. |
delete_quoteDelete a quote | Can’t be undone. |
delete_warehouseDelete a warehouse | Purchase orders keep the address they were given. |
email_warranty_claim_vendorEmail a claim’s vendor | Emails the vendor. |
force_convert_orderForce convert a draft order | Places it without the customer’s signature, for good. |
force_convert_quoteForce convert a quote | Places it without the customer’s signature, for good. |
make_warranty_claim_orderMake a claim’s warranty order | Creates or updates an order in the store’s Shopify. |
mark_deposit_paidMark a deposit paid | Records money on the order. |
mark_order_handoverMark items collected or delivered | Records the items as gone and fulfils them in Shopify. |
mark_purchase_order_sentMark a purchase order sent | Commits the store to the vendor without emailing it. |
order_warranty_claim_goodsOrder a claim’s goods | With `send` this emails the vendor and commits the store to it. |
post_quickbooks_cost_of_goods_nowPost cost of goods now | Posts to the merchant’s accounting. |
post_quickbooks_customer_orders_nowPost customer orders now | Posts to the merchant’s accounting. |
record_order_depositRecord an order’s deposit paid | Records money on the order. |
record_order_paymentTake a payment | Records money on the order. |
record_purchase_order_vendor_paymentRecord a payment to the vendor | Records money the store paid the vendor (and sends it to QuickBooks where the store syncs payments). |
record_quote_depositRecord a quote’s deposit paid | Records money on the quote. |
record_warranty_money_backRecord a claim’s refund or credit | It ends warranty cover on the claim’s units. |
remove_bundle_optionRemove an option from a bundle | Changes every template following the bundle. |
remove_customer_addressRemove an address | Removes the address from the customer’s Shopify address book. |
remove_product_template_optionRemove an option from a template | Takes the option off the template’s new lines, with this template’s prices for it. |
reply_to_conversationReply to a conversation | Writes to the customer or vendor. |
report_warranty_goods_problemReport a claim’s goods damaged or wrong | Takes the goods back off their receipt (stock out again). |
request_order_paymentRequest payment on an order | Asks the customer to pay. |
request_order_signatureRequest an order’s signature | Emails the customer. |
request_quote_paymentRequest payment on a quote | Asks the customer to pay. |
request_quote_signatureRequest a quote’s signature | Emails the customer. |
request_warranty_quote_signatureEmail a warranty quote to sign | Emails the customer. |
revoke_portal_linksRevoke all portal links | Every customer loses the portal links they hold, ones in emails already sent too. |
send_orderSend an order to the customer | Emails the customer. |
send_order_signed_copyEmail an order’s signed copy | Emails the customer. |
send_purchase_orderEmail a purchase order | Emails the vendor and commits the store to it. |
send_quoteSend a quote to the customer | Emails the customer. |
send_quote_signed_copyEmail a quote’s signed copy | Emails the customer. |
send_warranty_claim_emailEmail the customer about a claim | Emails the customer. |
send_warranty_goods_purchase_orderSend a claim’s purchase order | Emails the vendor and commits the store to it. |
send_warranty_vendor_claimEmail a vendor claim | Emails the vendor. |
set_default_email_themeSet the default email theme | Restyles every template, published ones included, so customers receive the new look. |
set_order_customer_paymentTurn an order’s customer payment on or off | Decides whether the customer can pay. |
set_product_template_activeActivate or set to draft | Setting a template to draft takes it off sale and archives its Shopify product. |
set_quote_customer_paymentTurn a quote’s customer payment on or off | Decides whether the customer can pay. |
set_warranty_goodwill_endSet a goodwill end date | Gives cover the terms didn’t. |
start_warranty_coverStart warranty cover by hand | Gives the customer cover the order hasn’t got yet. |
update_optionChange an option | It changes every template using the option (`get_option_usage`). |
update_product_requirementsChange a product’s requirements | Changes what quotes and orders with the product need before they are placed. |
update_product_template_optionChange a template’s option | Prices change what customers pay. |
update_quickbooks_customer_ordersChange how customer orders post | Turning it on posts orders to the merchant’s accounting from the start date. |
All payments and refunds go through Shopify.
Review the connection before approving
Open the agent’s link and match its number to the one in your chat. Only approve connections you requested. Use Change to reduce access, limit locations or shorten the connection’s duration. You can’t expand the request.
If Replace the earlier key is checked, approving ends the earlier connection immediately. Review that choice, then click Approve to connect or Deny to refuse.
The agent must finish connecting within 10 minutes of approval. The store owner gets an email showing who approved the connection and what the agent can do.
Bring data from another system
Your agent can prepare and check import drafts from your old system after reading the import guide. Preparing a draft doesn’t change your store. Unless you ask otherwise, your agent sends data from a file, document, PDF, spreadsheet or email as an import draft for you to review, even if it contains only one record.
Review each draft in Settings > Import data, then click Import when you’re ready. The agent can’t import or undo: only a person in OrderPilot can click Import or Undo. See How data imports work.
You can connect an agent for importing on every plan. On Essentials and Growth, click Connect your assistant in Settings > Import data and paste the prompt into your agent. It gets Import data only access for 30 days: it can read your store and prepare imports, nothing else. Anything else it tries is refused with 403 IMPORT_ONLY, and Check your connection answers import_only: true.
Disconnect an agent
To disconnect an agent, open its ⋯ menu under Connected agents in Settings›API and integrations and click Remove access. The agent loses access immediately.

Need help connecting?
Email us the agent’s name and the message it showed. Keep your key private.