---
title: "Connect Shopify Store"
method: POST
path: "/v1/shopify/connect"
tags: ["Integrations"]
---

# Connect Shopify Store

`POST /v1/shopify/connect`

Connect a Shopify store to a project. Requires API key with email:read permission.

## Request body

- ConnectShopifyRequest
  - `projectId` string, required — The project ID to connect the Shopify store to
  - `shopifyStoreUrl` string, uri, required — The Shopify store URL (e.g., https://example.com or https://store.myshopify.com)

## Response `200`

Shopify store connected successfully

- ApiResponseShopifyConnect
  - `success` boolean, required
  - `data` object, nullable
    - `serverId` string, required — The MCP server ID created for this Shopify connection
    - `projectId` string, required — The project ID
    - `status` 'connected', required — Connection status: 'connected' (successful)
    - `message` string, required — Status message
    - `store` string, required — The Shopify store name extracted from the URL
    - `toolsEnabled` string[], required — List of enabled Shopify tool names
  - `error` string, nullable

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden - Missing required permissions or access denied
- `404` — Resource not found

---

[API](https://skmtc.net/migma/apis/migma-ai-api-v1.md) · [All operations](https://skmtc.net/migma/apis/migma-ai-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/migma/migma-ai-api-v1/revisions/3f3dba69574b/schema)
