PackPass EU PackPass EU ZPL-II // 4×6"
EDGE WEBHOOK SPECIFICATION • <5 MS DETERMINISTIC ZPL II

POST /api/zpl-compile & Warehouse Printer Setup

Stateless Cloudflare Edge compiler generating synchronized 50×30 mm product sticker and 100×150 mm (4×6") EU accompanying insert ZPL II streams on demand.

HTTP Request & Response Specification

HTTP Status Behavior & Payload
200 OK Returns computeMs, byteLength, trimanCaliperMm, zplTag50x30, and zplInsert100x150.
400 Bad Request Malformed JSON request body.
422 Unprocessable Entity Blocked category: restricted_clp_toys (Cosmetics 1223/2009, CLP/UFI, EN 71 Toys).
Live Edge cURL Example
curl -X POST https://packpasseu.com/api/zpl-compile \
  -H "Content-Type: application/json" \
  -d '{
    "category": "apparel",
    "dpi": 203,
    "primaryInsertLang": "FR",
    "materialSlugs": ["pap-20", "ldpe-04", "pap-22"],
    "sku": "MERINO-BLK-04",
    "lot": "LOT-2026-W46",
    "productName": "Heavyweight Merino Ribbed Beanie",
    "manufacturerName": "NorthLoom Knitwear Ltd",
    "manufacturerAddress": "Unit 4 Albion Mills, Manchester, UK",
    "manufacturerEmail": "[email protected]",
    "euRpName": "NorthLoom EU Compliance B.V.",
    "euRpAddress": "Keizersgracht 482, Amsterdam, NL",
    "euRpEmail": "[email protected]"
  }'
Interactive Edge Compiler Tester (Live Endpoint + Local Engine Fallback) READY
 
SHOPIFY FLOW • BASELINKER • RAW TCP/9100

Warehouse & Marketplace Wiring Blueprints

ZPL PRINTER / WEBHOOK

BaseLinker Automatic Actions

  1. Trigger: Order status change / Courier label printed.
  2. Condition: Delivery country in FR, IT, DE, PL, AT, BE, ES, NL.
  3. Webhook: POST https://packpasseu.com/api/zpl-compile mapping SKU & shipping country.
  4. Print: Route response.zplInsert100x150 directly to configured BaseLinker ZPL thermal printer.
FLOW HTTP ACTION

Shopify Flow + PrintNode

  1. Trigger: Order ready to fulfill / Label purchased.
  2. Send HTTP Request action with lineItems[0].sku and shippingAddress.countryCodeV2.
  3. Forward compiled ZPL string as raw payload to PrintNode API targeting Zebra/Rollo 4×6" queue.
LOCAL NETWORK PRINT

Direct Thermal TCP/9100 Batch

  1. Download compiled .zpl stream from PackPass Studio or /api/zpl-compile.
  2. Send raw bytes directly via nc / lpr -o raw or Zebra Setup Utilities to port 9100.
  3. Zero PDF rasterization overhead; binary ^GFA Triman renders crisp at 6.5 mm.