Shopify Integration
Connect your Shopify store to sync products and push DPP data back to your product pages.
Requires: Pro subscription ($199/mo)
How it works
- Connect — provide your Shopify store domain and Admin API access token
- Sync — pull products from Shopify into Pasera (SKU matching, duplicates skipped)
- Push DPP — after publishing a DPP, push the QR code URL to a Shopify product metafield
Step 1: Get your Shopify Admin API access token
- In your Shopify admin, go to Settings → Apps and sales channels → Develop apps
- Click Create an app → name it “Pasera DPP”
- Go to Configuration → Admin API access scopes
- Enable these scopes:
read_products— to sync productswrite_products— to push DPP metafields
- Click Install app
- Copy the Admin API access token (starts with
shpat_)
Step 2: Connect in Pasera
POST /addons/shopify/connect
Authorization: Bearer <your-token>
X-Organization-Id: <your-org-id>
Content-Type: application/json
{
"shopDomain": "your-store.myshopify.com",
"accessToken": "shpat_xxxxx"
}Or use the Shopify settings page in the brand portal (coming soon in UI).
Step 3: Sync products
POST /addons/shopify/syncThis pulls all products from your Shopify store and creates matching products in Pasera. Products are matched by SKU — existing products are skipped.
What syncs:
- Product title → name
- First variant SKU → sku
- First variant barcode → gtin
- Product type → subcategory
- Category defaults to
textile_apparel(editable after sync) - Shopify product ID stored for push-back
Step 4: Push DPP to Shopify
After publishing a DPP, push the QR code URL to the Shopify product:
POST /addons/shopify/push-dpp/<productId>This creates a metafield on the Shopify product:
- Namespace:
pasera - Key:
dpp_url - Type:
url - Value:
https://p.pasera.app/p/{gtin}/{serial}
You can then display this URL on your Shopify product page using Liquid:
{% if product.metafields.pasera.dpp_url %}
<a href="{{ product.metafields.pasera.dpp_url }}">
View Product Passport
</a>
{% endif %}API endpoints
| Method | Path | Description |
|---|---|---|
| POST | /addons/shopify/connect | Connect Shopify store |
| POST | /addons/shopify/sync | Sync products from Shopify |
| POST | /addons/shopify/push-dpp/:productId | Push DPP URL to Shopify metafield |