Skip to main content
POST
Connect Shopify Store

Authorizations

Authorization
string
header
required

API key authentication. Use 'Authorization: Bearer YOUR_API_KEY' where YOUR_API_KEY is obtained from the Migma dashboard under Settings → Developers → API Keys.

Body

application/json
projectId
string
required

The project ID to connect the Shopify store to

Pattern: ^[0-9a-fA-F]{24}$
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