Connect Store
store_connectAdd, sync, or list Shopify and WooCommerce stores. Connect a new store to sync products, orders, and customers, or refresh existing store data.
Instructions
Manage Shopify or WooCommerce store connections. action="connect" adds a new store and performs an initial sync of products, orders, and customers; action="sync" refreshes cached data for an existing store; action="list" returns all connected stores with their sync counts. Returns a JSON payload with store metadata (id, name, platform, url, counts, last_sync) — credentials are never returned.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | connect = add new store, sync = refresh existing store, list = show all stores | |
| name | No | Human-readable store name (required for connect, e.g. "My Shop") | |
| platform | No | "shopify" or "woocommerce" (required for connect) | |
| url | No | Store base URL starting with https:// (required for connect, e.g. "https://myshop.myshopify.com") | |
| api_key | No | Platform API access token (required for connect) | |
| api_secret | No | Platform API secret — REQUIRED for woocommerce, ignored for shopify | |
| store_id | No | Existing store UUID (required for sync) |