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 Claude, ChatGPT or Copilot in 2 minutes
Start a free trial on AnythingMCP Cloud, connect SHOPLINE in the guided setup, then add your MCP URL to your AI assistant. 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
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.
Setup
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.
Prerequisites: SHOPLINE_HANDLE, SHOPLINE_ACCESS_TOKEN
Install the connector locally
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
Open http://localhost:3000/connectors/store, pick SHOPLINE and paste in the env vars listed under Prerequisites.
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?"
Next steps
Was this guide helpful?