Summary
SHOPLINE stores (myshopline.com) through the Admin REST API: orders, fulfillments and tracking, transactions and refunds, products and variants, customers, locations and inventory levels. Private app access token.
Guided setup
Connect SHOPLINE to Microsoft Copilot in 2 minutes
Start a free trial on AnythingMCP Cloud, connect SHOPLINE in the guided setup, then add your MCP URL to Microsoft Copilot. No code and no server to run.
No credit card · 7-day trial · Self-host alternative available
Try asking
Example prompts for SHOPLINE
Click any prompt to copy it. Paste into Claude, ChatGPT, Cursor, Gemini, Copilot or OpenClaw to run it against this connector.
Claude is AI and can make mistakes. Please double-check responses.
💡 No install? Use cloud.anythingmcp.com directly. Sign in, click Connectors → SHOPLINE, paste your credentials, mint an MCP API key and you're done. No Docker, no
git clone, no local server.
SHOPLINE + Microsoft Copilot
SHOPLINE stores (myshopline.com) through the Admin REST API: orders, fulfillments and tracking, transactions and refunds, products and variants, customers, locations and inventory levels. Private app access token.
Prerequisites
See the full setup instructions baked into the connector (visible in the in-app store when you select the connector). The required environment variables for this connector are:
SHOPLINE_HANDLE, SHOPLINE_ACCESS_TOKEN
Step 1 — Get credentials
Setting up takes about 5 minutes.
- Log in to the SHOPLINE Admin at
https://admin.myshopline.comand open Apps, then Develop Apps (top right), and create a private app. - Give it the access scopes the tools need:
read_orders,write_orders,read_products,write_products,read_customers,read_inventory,write_inventory,read_location,read_assigned_fulfillment_ordersandwrite_assigned_fulfillment_orders(read scopes alone are enough for the read tools). - Open the app's API certificate and copy the access token into
SHOPLINE_ACCESS_TOKEN. A private app token is valid for 3 years and can be refreshed there; deleting the app revokes it. - Enter the store handle, the first part of
<handle>.myshopline.com, inSHOPLINE_HANDLE.
Where to start: shopline_list_orders with status any (and fulfillment_status when you look for shipped orders), then shopline_list_order_fulfillments. For products shopline_list_products, shopline_get_product and shopline_list_product_variants.
Orders: shopline_list_orders, shopline_count_orders, shopline_update_order (tags, contact, notes, shipping address), shopline_list_order_transactions, shopline_list_order_refunds. The id is the order id; name is the order number the customer sees (1001 and up, with an optional prefix). Cancelling and refunding are not included, because they return money.
Shipping: shopline_create_fulfillment ships an order with a tracking number, shopline_list_order_fulfillments lists shipments, shopline_update_fulfillment_tracking replaces the tracking list of one shipment (send all entries, the rest is cleared).
Products: shopline_list_products, shopline_get_product, shopline_count_products, shopline_update_product (status active publishes, draft hides), shopline_list_product_variants, shopline_update_variant (price, compare-at price, SKU, barcode). Tags go in as a list and come back as a comma-separated string. Products have up to five options per variant.
Customers: shopline_list_customers, shopline_get_customer, shopline_search_customers, shopline_list_customer_orders.
Stock: each variant has an inventory_item_id. shopline_list_locations, shopline_get_inventory_items, shopline_get_inventory_levels, then shopline_set_inventory (absolute) or shopline_adjust_inventory (delta).
Paging: lists use a cursor. When there is another page, the answer carries _pagination.nextUrl; pass its page_info value with the same limit. _pagination is missing on the last page.
Ids and formats: ids are long digit strings (26 digits): always pass them as text. Times are ISO 8601; prices are decimal strings in the store currency.
Rate limit: 4 requests per second per app and store, with bursts up to 40 queued; above that SHOPLINE answers 429 Too many request. Answers are capped at 8 MB, so use fields and smaller limits for big stores.
Step 2 — Install the adapter
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
Step 3 — Add the connector in Microsoft Copilot
Your server URL: in AnythingMCP, open MCP Servers → the server this connector is on, and copy its URL (
https://cloud.anythingmcp.com/mcp/…). Use it wherever this guide showsYOUR_SERVER_ID.
Microsoft Copilot uses MCP servers through agents built in Copilot Studio: you add AnythingMCP to an agent as a tool, then publish the agent to Microsoft 365 Copilot and Teams. Copilot Studio connects from Microsoft's cloud over Streamable HTTP, which AnythingMCP supports.
- In Copilot Studio, open your agent (or create one), go to Tools and choose Add a tool → New tool → Model Context Protocol.
- Enter a Server name (for example
AnythingMCP), a Server description that says what the connector does, and the Server URLhttps://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID. Copilot Studio uses the description to decide when to call the server. - Under authentication, choose API key, set Type to Header and the header name to
X-API-Key, then select Create. - In Add tool, choose Create a new connection, paste an MCP API key from AnythingMCP (MCP Servers → your server → API keys) and select Add to agent.
- Try it in the agent's Test pane: ask for something that needs the
SHOPLINEtools. - Select Publish, then Channels → Microsoft 365 and Microsoft Teams, keep Make agent available in Microsoft Copilot selected and choose Add channel. See agent in Teams installs it for you; in Microsoft 365 Copilot, type @ and pick the agent.
Prefer per-user sign-in? Choose OAuth 2.0 → Dynamic discovery instead of an API key: each user then signs in to AnythingMCP the first time the agent calls it.
Self-hosting? Use your instance's public HTTPS address instead of https://cloud.anythingmcp.com. Copilot Studio connects from Microsoft's cloud, so localhost does not work.
Available tools
| Tool | What it does |
|---|---|
shopline_list_orders | List orders: id, name (order number such as 1001), order_at, financial_status, fulfillment_status, status, currency, current_total_price… |
shopline_count_orders | Count the orders that match the filters (status, payment, shipment, dates): answers with count. Read-only |
shopline_update_order | Change an order's tags, buyer email or phone, merchant notes (note_attributes) or shipping address. Only the fields given are sent; tags… |
shopline_list_order_fulfillments | List the fulfillments (shipments) of an order: id, status, tracking_company, tracking_number, tracking_url, line_items and created_at |
shopline_create_fulfillment | Ship an order (all of it, or the line items given) with a tracking number and carrier. notify_customer sends the shipping email. Answers… |
shopline_update_fulfillment_tracking | Replace the tracking information of a fulfillment. The list replaces what is stored: tracking entries left out are removed |
shopline_list_order_transactions | List the payment transactions of an order: id, kind (sale, refund and so on), status, amount, currency, gateway and processed_at. Read-only |
shopline_list_order_refunds | List the refunds of an order: id, created_at, note, refund_line_items and transactions with amounts. Read-only |
shopline_list_products | List products: id, title, handle, status (active, draft, archived), vendor, tags, product_category, created_at, updated_at, options and… |
shopline_get_product | Read one product: title, body_html, status, vendor, tags, handle, options, images, media and variants with price, sku, barcode, weight… |
shopline_count_products | Count the products that match the filters (status, collection, dates): answers with count. Read-only |
shopline_update_product | Change a product: title, subtitle, description (body_html), status (active publishes, draft hides, archived archives), vendor, tags… |
shopline_list_product_variants | List the variants of a product: id, sku, barcode, price, compare_at_price, option1 to option5, weight, inventory_quantity, inventory_policy… |
shopline_update_variant | Change a variant: price and compare_at_price (decimal strings in the store currency), sku, barcode, weight with weight_unit… |
shopline_list_customers | List customers: id, email, phone, first_name, last_name, state, tags, orders_count, total_spent, accepts_marketing, addresses and… |
shopline_get_customer | Read one customer: email, phone, names, state, tags, note, orders_count, total_spent, marketing consent and addresses |
shopline_search_customers | Search customers by name, email, phone or address text (query_param), or by exact criteria such as tags or orders_count (query). Same… |
shopline_list_customer_orders | List the orders of one customer, with the same order fields as shopline_list_orders. Up to 100 per page |
shopline_list_locations | List inventory locations (warehouses and stores): id, name, address, active and whether it is the default location |
shopline_get_inventory_items | Read inventory items (one per variant): id, sku, tracked, cost and country of origin. The inventory_item_id is on every variant |
shopline_get_inventory_levels | Read available stock per inventory item and location: inventory_item_id, location_id, available and updated_at |
shopline_set_inventory | Set the available stock of an inventory item at a location to an absolute number (replaces the current quantity) |
shopline_adjust_inventory | Change the available stock of an inventory item at a location by a delta: positive adds, negative removes |
Example prompts
- "How many SHOPLINE orders came in this week, and how many are unfulfilled?"
- "Add DHL tracking 1234567890 to the fulfillment of order #1052."
- "Which variants have fewer than 5 units at our main location?"
- "Show all orders of the customer Anna Berg."
- "Which orders were refunded last month, and for how much?"
FAQ
Which SHOPLINE does it cover? Stores on myshopline.com, through the SHOPLINE Admin REST API. The older SHOPLINE platform at shoplineapp.com has a different API and is not covered.
Where does the access token come from? SHOPLINE Admin, Apps, Develop Apps: create a private app with the scopes the tools need and copy the access token from its API certificate. Enter the store handle as well.
Which tools install switched off? None. Transactions and refunds are read-only, and every write (order notes, fulfillments, tracking, product and inventory changes) is shown to you before it runs.
Which Copilot is this for? Microsoft 365 Copilot at work, through agents built in Copilot Studio. The Microsoft Copilot app for personal accounts has no option to add your own MCP server.
What do I need? A work account with access to Copilot Studio (a license or a trial) to build the agent. People who use it in Microsoft 365 Copilot or Teams need access to the agent: share it with them, or ask an admin to publish it to the organization. If your organization applies data policies to Power Platform connectors, they cover MCP servers too.
The agent doesn't call the tools. Check that the header name is exactly X-API-Key and that the key belongs to the same MCP server as the URL, and make the server description specific: Copilot Studio uses it to decide when to call the server. Publish the agent again after each change; in an open chat, type "start over" to get the new version.
Next steps
Was this guide helpful?