Skip to main content
POST
/
v1
/
shopify
/
connect
Connect Shopify Store
curl --request POST \
  --url https://api.migma.ai/v1/shopify/connect \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "projectId": "<string>",
  "shopifyStoreUrl": "<string>"
}
'
{
  "success": true,
  "data": {
    "serverId": "<string>",
    "projectId": "<string>",
    "status": "connected",
    "message": "<string>",
    "store": "<string>",
    "toolsEnabled": [
      "<string>"
    ]
  },
  "error": "<string>"
}

Authorizations

Authorization
string
header
required

JWT Bearer token authentication. Use 'Authorization: Bearer ' where the JWT token is obtained from the login endpoint.

Body

application/json
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

Shopify store connected successfully

success
boolean
required
data
object
error
string | null