SHOPLINE: connect an International store over OAuth
SHOPLINE (the International platform at myshopline.com) connects over the registered OAuth app: enter the store handle, approve the scopes on SHOPLINE, done. Agents then read store info, products and orders, compute an exact server-side sales summary, watch daily orders/revenue for anomalies, and — when write scopes are granted — change products, prices and inventory through a write gateway that always pauses for your approval. Access tokens live about 10 hours and refresh automatically.
Which SHOPLINE this is (and isn't)
Two different platforms share the SHOPLINE name. This integration covers the INTERNATIONAL platform — stores whose admin lives at your-store.myshopline.com (developer.shopline.com APIs).
Stores on *.shoplineapp.com (SHOPLINE Taiwan/Hong Kong) run a completely different API and cannot connect here.
Connect a store
On /integrations, open the SHOPLINE card, enter the store handle (my-store or my-store.myshopline.com) and click Authorize via SHOPLINE. You'll approve the app's scopes on SHOPLINE and land back on the integrations page.
The consent screen lists read scopes (store information, products, orders, customers, inventory) and write scopes (products, orders, inventory). Granting write scopes does NOT make the agent autonomous — every store change still stops at the in-app approval gate before it runs.
What the agent can do
| Capability | Tool | Notes |
|---|---|---|
| Store health / report header | get_shop_info | Name, currency, timezone. |
| Products | get_products | Status, vendor, price range, inventory (limit 50 per page). |
| Orders | get_orders | Totals, financial/fulfillment status, line items (limit 100). |
| Sales numbers | sales_summary | Exact server-side aggregation: revenue, AOV, by-day series, top products. |
| Monitoring | detect_anomalies | Daily orders + revenue vs a weekday-aware baseline. |
| Anything else (read) | admin_get | Any documented Admin REST GET path — customers, fulfillment orders… |
| Store changes | admin_mutate | POST/PUT/DELETE + path + payload. Approval-gated, single-attempt, response verified. |