Integrations
Connect Pasera with your existing e-commerce and business tools.
Available integrations
Shopify
Sync products from your Shopify store and push DPP URLs back to product metafields. See Shopify Integration for full setup guide.
What it does:
- Pull products from Shopify into Pasera (matched by SKU)
- Push published DPP URLs to Shopify product metafields
- Display “View Product Passport” links on your store
WooCommerce
Similar to Shopify — sync products from your WooCommerce store using the REST API.
Setup:
- Go to Integrations in the sidebar
- Find the WooCommerce card
- Enter your store URL, consumer key, and consumer secret
- Click Connect
WooCommerce API credentials:
- In WooCommerce, go to Settings > Advanced > REST API
- Click Add key
- Set permissions to Read/Write
- Copy the consumer key and consumer secret
Webhooks
Webhooks let you receive real-time notifications when events happen in Pasera.
Setting up webhooks
- Go to Integrations in the sidebar
- Scroll to the Webhooks section
- Click Add webhook
- Enter your endpoint URL and select which events to subscribe to
Available events
| Event | Fires when |
|---|---|
batch.created | A new batch is created |
batch.submitted | A factory submits DPP data |
dpp.published | A DPP is approved and published |
request.sent | A DPP request is sent to a factory |
certificate.expiring | A supplier certificate is expiring within 30 days |
Webhook payload
{
"event": "dpp.published",
"timestamp": "2026-05-15T10:30:00Z",
"data": {
"dppId": "01KS...",
"batchId": "01KS...",
"productName": "Classic Crew T-Shirt",
"qrUrl": "https://p.pasera.app/p/5701234567001/ABC123"
}
}Signature verification
Each webhook includes an X-Pasera-Signature header containing an HMAC-SHA256 signature of the request body, using your webhook secret as the key.
const crypto = require('crypto');
function verifyWebhook(body, signature, secret) {
const expected = crypto
.createHmac('sha256', secret)
.update(body)
.digest('hex');
return crypto.timingSafeEqual(
Buffer.from(signature),
Buffer.from(expected)
);
}Custom integrations
Use the API Reference to build custom integrations. The API supports all operations available in the UI.