Shopify integration is currently in preview. Request early access to be notified when it launches.
Overview
The Shopify integration allows you to publish your AI-generated designs directly to your Shopify store as print-on-demand products. When customers purchase, orders automatically flow into Garmint’s production system.How It Works
1
Connect Your Store
Navigate to the Shopify page and enter your Shopify store domain. You’ll be redirected to Shopify to authorize the connection.
2
Design & Publish
Create designs in the Studio, then use the “Publish to Shopify” button to push products to your store with custom pricing.
3
Orders Flow Automatically
When customers purchase on your Shopify store, orders are automatically created in Garmint’s production queue via webhooks.
4
Fulfillment Sync
Once printed and shipped, tracking information syncs back to Shopify so customers see delivery updates.
Features
Store Connection
- Secure OAuth — Industry-standard OAuth 2.0 flow, no passwords stored
- Multi-store support — Connect multiple Shopify stores from one Garmint account
- Connection status — Real-time visibility into store connection health
Product Publishing
- One-click publish — Push designs to Shopify with custom pricing
- Automatic variants — Size options created automatically
- Price recommendations — Suggested retail price based on production costs
Order Management
- Webhook sync — Orders appear in Garmint within seconds
- Customer data — Full shipping address and contact info transferred
- Order tracking — Status visible in both Garmint and Shopify admin
Fulfillment
- Shipping labels — ShipStation integration for label generation
- Tracking sync — Tracking numbers pushed back to Shopify
- Delivery notifications — Customers notified through Shopify
Pricing
| Cost Component | Amount |
|---|---|
| DTG Print (front) | $30.00 |
| Blank Garment | ~$15.00 |
| Fulfillment | $5.00 |
| Total Cost | ~$50.00 |
Technical Details
Webhooks
The following Shopify webhooks are automatically registered when you connect:orders/create— New order notificationsorders/paid— Payment confirmationapp/uninstalled— Store disconnection
API Endpoints
| Endpoint | Description |
|---|---|
POST /api/shopify/connect/install | Initiate OAuth flow |
GET /api/shopify/callback | OAuth callback handler |
GET /api/shopify/connect | List connected stores |
DELETE /api/shopify/connect/[id] | Disconnect a store |
POST /api/shopify/publish | Publish product to Shopify |
POST /api/shopify/webhooks/orders | Order webhook handler |
Database Schema
Troubleshooting
Connection failed with 'Invalid OAuth state'
Connection failed with 'Invalid OAuth state'
This occurs if you took too long to authorize or navigated away during the OAuth flow. Try connecting again from the Shopify page.
Products not appearing in Shopify
Products not appearing in Shopify
Check that your store connection status is “Active” on the Shopify page. If disconnected, reconnect your store.
Orders not syncing
Orders not syncing
Webhooks may need to be re-registered. Disconnect and reconnect your store to refresh webhook subscriptions.
Coming Soon
- Variant customization — Choose which sizes to offer
- Inventory sync — Automatic stock updates
- Multi-placement — Front and back print options
- Analytics — Sales and conversion tracking