ACTIVATION NODE
Start in seconds
Make your first pricing or validation call in seconds. Our SDK allows for seamless integration of print intelligence into any application.
client-init.jsjavascript
// Initialize SDK
import { ppos } from '@ppos/sdk';
const client = new ppos.Client({
apiKey: process.env.PPOS_KEY,
environment: 'production'
});
// Perform System Health Check
const status = await client.control.health();
console.log(`Node status: ${status.id} [${status.state}]`);POST /v1/budget
Estimate cost via API
Get real print costs based on your specs — instantly. Sync your e-commerce or internal tools with our precision pricing engine.
create-estimate.jsjavascript
// POST /v1/budget/estimate
const response = await fetch('https://api.printprice.pro/v1/budget/estimate', {
method: 'POST',
headers: { 'Authorization': 'Bearer YOUR_KEY' },
body: JSON.stringify({
component: 'folding-carton',
quantity: 5000,
materials: ['300gsm-sbs'],
dieline: 'v12-structure'
})
});
const result = await response.json();
console.log(result.price.certified);POST /v1/preflight
Validate files automatically
Run preflight checks and fix errors before production. Automate PDF remediation and ensure standards-compliance.
trigger-verification.jsjavascript
// POST /v1/preflight/verify
const audit = await ppos.preflight.verify({
fileUrl: 'https://storage.net/job-123.pdf',
policies: ['enterprise-v2-compliance'],
autoFix: true,
callback: 'https://your-webhook.com'
});
console.log(audit.status.id);