Print Service API

This service provides the API endpoints for queuing print jobs.

Available Endpoints:

Usage:

Product Label:

curl -X POST /api/print-product-label \
  -H "Content-Type: application/json" \
  -d '{"serialNumber": "12345", "activationCode": "ABC123", "skuBarcode": "SKU123"}'

Serial Number Label:

curl -X POST /api/print-serial-label \
  -H "Content-Type: application/json" \
  -d '{"serialNumber": "12345", "quantity": 2}'

Scanner Lookup (Auto-queue Product Label):

curl -X POST /api/lookup-serial \
  -H "Content-Type: application/json" \
  -d '{"serialNumber": "12345"}'

ShipStation Quote:

curl -X POST /api/shipstation/quote \
  -H "Content-Type: application/json" \
  -d '{"to_country_code":"GB","to_postal_code":"NG16 3QU","from_country_code":"GB","from_postal_code":"NG16 3QU","weight":{"value":1200,"unit":"gram"}}'