Materialize production artifacts for an order
Side effect: creates kit_assembly tasks and queued print_job rows for every unfulfilled line item that does not already have live production artifacts. Idempotent — running it twice on the same order is a no-op for items already in production. Composite SKUs get one assembly task plus one print job per kit part. Per-item failures (BOM shortages, missing print files) are returned in shortages / unmatched_items and never abort the rest of the order.
Authorizations
API keys are minted in the AutoPrintFarm web app under Settings → API Keys. Send as Authorization: Bearer apf_live_.... Keys are shown exactly once at creation and can be revoked at any time.